Guest User

Blockchain Text - Version 1

a guest
Mar 26th, 2019
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. There are more and more initiatives by politicians (or even people) to introduce more and more censorship. I would like to see a platform that prevents censorship (unless the interface introduces it, but I would like there to be more interfaces), and people can freely share their content.
  3. A decentralized database / Blockchain must, in my opinion, meet a number of conditions:
  4. * Be easy to reproduce
  5. * Resistant to censorship
  6. * Prevent spam (as far as possible)
  7. * Anyone can be a node
  9. These are my observations, I don't know if it's possible to build an entire content storage network.
  11. ___
  13. The data stored in the database must be done in such a way as to store the least content. Paradoxically, it is difficult to store a very large number of messages, it often takes several TB of data. You have to do everything to keep data growth as small as possible.
  15. Why? We cannot prohibit anyone from holding data in blockchain. If someone wants to make a page with pieces, they will do it. If someone wants to do "pastebin" on Blockchain, they will do it. Our task is to do everything so that the network does not collapse.
  17. ___
  19. In my opinion, the problem is the size of the text data. We can allow people to write short or long entries (e.g. 8KB). Each of these methods has its advantages and disadvantages.
  21. In my opinion, it has to work like this when the user wants to add this entry:
  22. * The entry is checked if it wasn't the same before. Sometimes it can be a short message ("Hello!"), which will be used by many people. Instead of storing it again, it is worth indicating where the database was the same.
  23. * Each language should have its own compressor dictionary. Before an entry is added to the database, it should be recognized linguistically and compressed (ZStandard looks very good) using this dictionary in order to save more space.
  24. * The entry should be added after the Proof of Work action. The point is that spamming bots consume a lot of electricity for a long time to make spam unprofitable.
  25. * The entry is added to the node and propagated.
  27. More and more portals rely on short comments (~500 bytes), so I don't know if it's better to store short entries.
  29. Editing an entry is creating a new entry (and linking in a special JSON field), and the differences between an old and a new entry should be created using a comparison (as in diff) - what has been added, what has been removed, and not throwing the file again (unless it is more cost-effective).
  31. ___
  33. The JSON field (as in Steem - JSON_metadata) is used to store various data needed by interfaces, such as message language, tags (if supported by the interface), links to thumbnails, the interface used by the user, etc. The JSON_metadata field is used to store various data needed by the interfaces. This should be a small data field
  35. ___
  37. I don't have a good idea for authorisation. Maybe there should be an "auth" field that stores a message signed by a given user? But which one? Maybe a separate blockchain / field? What if I lose my password / private key?
RAW Paste Data Copied