Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MinerRewardStrategy ¶
MinerRewardStrategy is a mining strategy
type Strategy ¶
type Strategy struct { MinerRewardStrategy ValidatorsStrategy }
Strategy encompasses all available strategies
type ValidatorsStrategy ¶
type ValidatorsStrategy interface { SetValidators(validators []types.Validator) CollectTx(tx *ethTypes.Transaction) GetUpdatedValidators() []types.Validator }
ValidatorsStrategy is a validator strategy
Click to show internal directories.
Click to hide internal directories.