Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HotStuff ¶
type HotStuff struct {
*consensus.HotStuffCore
proto.UnimplementedHotstuffServer
// contains filtered or unexported fields
}
HotStuff is a thing
func New ¶
func New(conf *config.ReplicaConfig, pacemaker Pacemaker, tls bool, connectTimeout, qcTimeout time.Duration) *HotStuff
New creates a new GorumsHotStuff backend object.
func (*HotStuff) Close ¶
func (hs *HotStuff) Close()
Close closes all connections made by the HotStuff instance
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
genSchedule
command
|
|
|
hotstuffclient
command
|
|
|
hotstuffkeygen
command
|
|
|
hotstuffserver
command
|
|
|
internal
|
|
|
proto
proto的类型是用于rpc时的传输,它的字段会更精简;而普通数据结构是存在 本地的,它会记录更多的字段。
|
proto的类型是用于rpc时的传输,它的字段会更精简;而普通数据结构是存在 本地的,它会记录更多的字段。 |
Click to show internal directories.
Click to hide internal directories.