Category: Bitcoin

mining swimming pools – Calculating hashrate from stratum messages

Occupied with validating algorithm for calculating hashrate from stratum messages. From my understanding following knowledge is required:start_time , time when miner began calculatingend_time, time when share from miner was discoveredproblem, set by the mining pool System for calculating hashrate(discovered on-line) is:hashrate = problem * 2**32 / (end_time – start_time) Instance:problem is 131072 from {“id”:null,”methodology”:”mining.set_difficulty”,”params”:[131072]}(end_time – start_time) […]

Back To Top