explorer icon indicating copy to clipboard operation
explorer copied to clipboard

Calculate block rewards

Open elaineo opened this issue 9 years ago • 4 comments

https://github.com/ethereum/wiki/wiki/Mining

elaineo avatar Aug 08 '16 18:08 elaineo

Do you mean calculate an estimated return based on a users hash power based on difficulty?

realcodywburns avatar Aug 13 '16 16:08 realcodywburns

@realcodywburns no, the block reward + the gas that was paid via transactions. It lets people see how much ether miners are making per block.

elaineo avatar Aug 13 '16 17:08 elaineo

Wow cool, hope it will have api for get this data.

kimisan avatar Aug 13 '16 18:08 kimisan

I was working the same problem from the other end. I was trying to estimate the base reward for a given hash rate.

The successful miner of the winning block receives:

  • A static block reward for the 'winning' block, consisting of exactly 5.0 Ether
  • ALL of the gas expended within the block, that is, all the gas from the contracts that were run within the block submitted by the winning miner. Over time, it's expected these will dwarf the static block reward
  • An extra reward for including Uncles as part of the block, in the form of an extra 1/32 per Uncle included

Uncles included in a block formed by the successful PoW miner receive:

  • 7/8 of the static block reward

My work porting a simple mining calculator: (need an ETC api) https://github.com/realcodywburns/ethereum-mining-calculator

realcodywburns avatar Aug 13 '16 18:08 realcodywburns