Bitcoin Mining Reward Formula

0

I'm trying to calculate daily bitcoin mining reward for single S9 miner. There is a thread with the formula, but it doesn't work for me. Please tell me what I did wrong.

block_reward = 12.50
difficulty = 6702169884349
period = 86400
hashrate = 14.45 * (1000 ** 3)
miners = 1
earnings = block_reward * (hashrate * miners) * period / math.log(1 / 2, 1 - 1 / ((2 ^ 32) * difficulty))

CooleRnax

Posted 2019-05-08T12:52:02.997

Reputation: 1

btw language is pythonCooleRnax 2019-05-08T17:10:43.023

No answers