-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: /block_info rpc returns actual block reward
Enables BlockInfo to provide both an expected coinbase amount based on block-height and the actual amount that miner chose (which may be less than expected amount). * adds Block::coinbase_amount() that returns actual miner rewards * replaces BlockInfo::mining_rewards with ::coinbase_amount * adds BlockInfo::expected_coinbase_amount()
- Loading branch information
Showing
2 changed files
with
25 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters