-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adapt to the new and improved reward strategy #1320
Comments
Fee() is used to RangeSort txs extraction Resolves #1320
The payload of the coinbase, in the context of this change, will be: pub struct CoinbasePayload {
pub block_height: u64,
pub generator: PublicKey,
} |
I know we discussed these change together, but a question just raise in my mind: |
In my view this should be computed from the transaction fees and the block height. If we don't want to use those - and I would ask why not - we could have Rusk return said information to the consensus program. Maybe some additional information in the return of a state transition? |
It's just a matter of making infos explicitly available in the block. Btw including those info in the header and as return of EST&co should enforce checks by dusk-blockchain during the block acceptance (I'm saying "enforce" because everything is implicitly checked by the statehash match) |
What is this for
This is a followup after dusk-network/rusk#614
The text was updated successfully, but these errors were encountered: