Skip to content

Instantly share code, notes, and snippets.

View tonymorony's full-sized avatar

Anton "TonyL" Lysakov tonymorony

View GitHub Profile
@leto
leto / bitcoin-halving.md
Last active August 2, 2020 08:31
Bitcoin Halving Calculations

Bitcoin Halving Is Not Every Four Years!

It's close, but not exactly! Let's discover why.

Block Time

Bitcoin has a block time of 600 seconds (10 minutes).

Halving Interval

Using https://jsonrpcclient.readthedocs.io/en/latest/api.html
sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt-get update
sudo apt-get install python3.6
sudo apt-get install python3-pip
pip3 install "jsonrpcclient[requests]"
# Start python3
@imylomylo
imylomylo / gist:d363de0a40fc6f56c0ef8d9f681e2f73
Last active October 11, 2018 15:45
RUNcoin Documentation
Example project for documentation samples called RUNcoin in the making so the tech can be cloned/expanded etc.
- manufacturer / app (step counter etc.) tracks movement/exercise/etc.
- pays RUNcoin for activity, e.g. 1 RUNcoin per day > your-goal.
- 0.1 RUNcoin for 1 day goal
- 0.5 RUNcoin bonus for 3 days in a row of goal
- 1 RUNcoin bonus for 5 days out of 7 (a week)
- 2 RUNcoin bonus for 9 out of 14
RUNcoin wallets can store RUNcoin for 60 days and 1% rewarded + reward * earned RUNcoin from running.