Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HotStuffConfig ¶
type HotStuffConfig struct { NetworkType string `mapstructure:"type"` BatchSize uint64 `mapstructure:"batch-size"` LeaderSchedule []int `mapstructure:"leader-schedule"` BatchTimeout time.Duration Timeout time.Duration PublicKey *tcrsa.KeyMeta PrivateKey *tcrsa.KeyShare Cluster []*ReplicaInfo N int F int }
func NewHotStuffConfig ¶
func NewHotStuffConfig() *HotStuffConfig
func (*HotStuffConfig) ReadConfig ¶
func (hsc *HotStuffConfig) ReadConfig()
ReadConfig reads hotstuff config from yaml file
type ReplicaInfo ¶
Click to show internal directories.
Click to hide internal directories.