Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RBC
- ------------------------------------
- Reddit-based Bullshit Currency (RBC)
- ------------------------------------
- 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.
- How blocks are mined:
- 1. seed is obtained by concatenating comment body + author name + current unix time
- 2. seed is then hashed with sha256
- 3. if the first 5 leading bits are 0's, then comment author is rewarded 50 RBC.
- The odds of mining a block will be ~ (1 in 16^5) (roughly 1 in a million)
- This is similar to Bitcoin, except Bitcoin blocks currently require 18 leading zeros. (goes up with difficulty).
- USAGE
- ---------------------
- tipping RBC
- u/rbc_bot <amount> u/<recipient>
- example (sending 20 RBC to u/penis)
- u/rbc_bot 20 u/penis
- (if you have insufficient balance, or invalid format, nothing will happen)
- checking balance
- u/rbc_bot balance
- enjoy!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement