Advertisement
Guest User

Blockchain Text - Version 1

a guest
Mar 26th, 2019
762
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.00 KB | None | 0 0
  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.
  2.  
  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
  8.  
  9. These are my observations, I don't know if it's possible to build an entire content storage network.
  10.  
  11. ___
  12.  
  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.
  14.  
  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.
  16.  
  17. ___
  18.  
  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.
  20.  
  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.
  26.  
  27. More and more portals rely on short comments (~500 bytes), so I don't know if it's better to store short entries.
  28.  
  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).
  30.  
  31. ___
  32.  
  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
  34.  
  35. ___
  36.  
  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?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement