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
// 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
func (*HotStuff) Propose ¶
func (hs *HotStuff) Propose()
Propose broadcasts a new proposal to all replicas
func (*HotStuff) SendNewView ¶
SendNewView sends a NEW-VIEW message to a specific replica
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
hotstuffclient
command
|
|
|
hotstuffkeygen
command
|
|
|
hotstuffserver
command
|
|
|
internal
|
|
Click to show internal directories.
Click to hide internal directories.