Advertisement
Guest User

Untitled

a guest
Aug 14th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. RBC
  2. ------------------------------------
  3. Reddit-based Bullshit Currency (RBC)
  4. ------------------------------------
  5.  
  6. This is a mock, Reddit-based cryptocurrency that has a mission to educate people on the basics of how cryptocurrency mining works. Obviously, it's not decentralized in any way. Values are stored as integers in a Google-powered database. It's also NOT intended to have any real-world value at all. It's just a number on the screen.
  7.  
  8. How blocks are mined:
  9. 1. seed is obtained by concatenating comment body + author name + current unix time
  10. 2. seed is then hashed with sha256
  11. 3. if the first 5 leading bits are 0's, then comment author is rewarded 50 RBC.
  12.  
  13. The odds of mining a block will be ~ (1 in 16^5) (roughly 1 in a million)
  14.  
  15. This is similar to Bitcoin, except Bitcoin blocks currently require 18 leading zeros. (goes up with difficulty).
  16.  
  17. USAGE
  18. ---------------------
  19.  
  20. tipping RBC
  21. u/rbc_bot <amount> u/<recipient>
  22. example (sending 20 RBC to u/penis)
  23. u/rbc_bot 20 u/penis
  24. (if you have insufficient balance, or invalid format, nothing will happen)
  25.  
  26. checking balance
  27. u/rbc_bot balance
  28.  
  29. enjoy!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement