You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add list of validators, propagate selection mode (#1530)
* add list of validators, propagate selection mode
* Check that genesis only has a single selection mode
* Override blockheader valdiators at a particular height
* remove invalid validation - needs to be done at startup
* change validators list of blockheader on specific transition
Co-authored-by: Antony Denyer <git@antonydenyer.co.uk>
BlockReward*math.HexOrDecimal256`json:"blockReward,omitempty"`// Reward from start, works only on QBFT consensus protocol
433
-
BeneficiaryMode*string`json:"beneficiaryMode,omitempty"`// Mode for setting the beneficiary, either: list, besu, validators (beneficiary list is the list of validators)
434
-
BeneficiaryList []common.Address`json:"beneficiaryList,omitempty"`// List of wallet addresses that have benefit at every new block (list mode)
435
-
MiningBeneficiary*common.Address`json:"miningBeneficiary,omitempty"`// Wallet address that benefits at every new block (besu mode)
436
-
432
+
BlockReward*math.HexOrDecimal256`json:"blockReward,omitempty"`// Reward from start, works only on QBFT consensus protocol
433
+
BeneficiaryMode*string`json:"beneficiaryMode,omitempty"`// Mode for setting the beneficiary, either: list, besu, validators (beneficiary list is the list of validators)
434
+
BeneficiaryList []common.Address`json:"beneficiaryList,omitempty"`// List of wallet addresses that have benefit at every new block (list mode)
435
+
MiningBeneficiary*common.Address`json:"miningBeneficiary,omitempty"`// Wallet address that benefits at every new block (besu mode)
436
+
ValidatorSelectionMode*string`json:"validatorselectionmode,omitempty"`// Select model for validators
437
+
Validators []common.Address`json:"validators"`// Validators list
437
438
}
438
439
439
440
func (cQBFTConfig) String() string {
@@ -457,6 +458,7 @@ type Transition struct {
457
458
RequestTimeoutSecondsuint64`json:"requesttimeoutseconds,omitempty"`// Minimum request timeout for each IBFT or QBFT round in milliseconds
458
459
ContractSizeLimituint64`json:"contractsizelimit,omitempty"`// Maximum smart contract code size
459
460
ValidatorContractAddress common.Address`json:"validatorcontractaddress"`// Smart contract address for list of validators
461
+
Validators []common.Address`json:"validators"`// List of validators
460
462
ValidatorSelectionModestring`json:"validatorselectionmode,omitempty"`// Validator selection mode to switch to
0 commit comments