We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8b883d commit 24fd7bdCopy full SHA for 24fd7bd
code/max_money.py
@@ -1,12 +1,11 @@
1
-# Original block reward for miners was 50 BTC
2
-start_block_reward = 50
+# Original block reward for miners was 50 BTC = 50 0000 0000 Satoshis
+start_block_reward = 50 * 10**8
3
# 210000 is around every 4 years with a 10 minute block interval
4
reward_interval = 210000
5
6
7
def max_money():
8
- # 50 BTC = 50 0000 0000 Satoshis
9
- current_reward = 50 * 10**8
+ current_reward = start_block_reward
10
total = 0
11
while current_reward > 0:
12
total += reward_interval * current_reward
0 commit comments