Module ethjson::spec::authority_round
source · [−]Expand description
Authority Round parameter deserialization.
Here is an example of input parameters where the step duration is constant at 5 seconds, the set
of validators is decided by the contract at address 0x10..01
starting from block 0, and where
the address of the contract that computes block rewards is set to 0x20..02
for blocks 0
through 41 and to 0x30.03
for all blocks starting from block 42.
ⓘ
"params": {
"stepDuration": "5",
"validators": {
"multi": {
"0": {
"contract": "0x1000000000000000000000000000000000000001"
}
}
},
"blockRewardContractTransitions": {
"0": "0x2000000000000000000000000000000000000002",
"42": "0x3000000000000000000000000000000000000003"
}
}
Structs
Authority engine deserialization.
Authority params deserialization.