Closed Nizametdinov closed 2 years ago
Hello @Nizametdinov! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
test/functional/rpc_createmultisig.py
:Line 62:87: W504 line break after binary operator
Needs rebase.
rpc_getblockstats
failed.
I guess you should run it with the --gen-test-data
argument to update the testdata in rpc_getblockstats.json
as the block structure changed.
utACK 19a3a3b
The CI build failed due to https://github.com/dtr-org/unit-e/issues/1105
Where is the
BlockRewardValidator
actually called from, at which step fromCheckBlock
,ContextualCheckBlock
, toConnectBlock
andCheckStake
?
It's called from ConnectBlock
.
utACK 5320157edbeafb59ef92e7e4939fbed15afe7755
This pull request implements proposer finalization rewards.
The first block of every epoch must contain finalization rewards for the block proposers of the previous epoch. The number of finalization reward outputs equals the epoch length. The scripts to which finalization rewards are sent are taken from the reward (0th) outputs of the previous epoch coinbase transactions. The reward amount must depend on the percentage of votes included in the previous epoch, but this will be implemented in following PRs.
See some additional details in #418.