Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { N int `mapstructure:"hare-committee-size"` // total number of active parties F int `mapstructure:"hare-max-adversaries"` // number of dishonest parties RoundDuration int `mapstructure:"hare-round-duration-sec"` // the duration of a single round WakeupDelta int `mapstructure:"hare-wakeup-delta"` // the wakeup delta after tick ExpectedLeaders int `mapstructure:"hare-exp-leaders"` // the expected number of leaders SuperHare bool LimitIterations int `mapstructure:"hare-limit-iterations"` // limit on number of iterations LimitConcurrent int `mapstructure:"hare-limit-concurrent"` // limit number of concurrent CPs }
Config is the configuration of the Hare.
func DefaultConfig ¶
func DefaultConfig() Config
DefaultConfig returns the default configuration for the hare.
Click to show internal directories.
Click to hide internal directories.