Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { RequestTimeout uint64 `toml:",omitempty"` // The timeout for each Istanbul round in milliseconds. BlockPeriod uint64 `toml:",omitempty"` // Default minimum difference between two consecutive block's timestamps in second ProposerPolicy ProposerPolicy `toml:",omitempty"` // The policy for proposer selection Epoch uint64 `toml:",omitempty"` // The number of blocks after which to checkpoint and reset the pending votes sync.RWMutex }
func DefaultConfig ¶
func DefaultConfig() *Config
func (*Config) GetProposerPolicy ¶
func (cfg *Config) GetProposerPolicy() ProposerPolicy
func (*Config) SetProposerPolicy ¶
func (cfg *Config) SetProposerPolicy(p ProposerPolicy)
Click to show internal directories.
Click to hide internal directories.