Documentation ¶
Index ¶
- Constants
- type HotStuff
- func (hs *HotStuff) GetChainStatus() string
- func (hs *HotStuff) GetHighQC() *blockchain.QC
- func (hs *HotStuff) MakeProposal(view types.View, payload []*message.Transaction) *blockchain.Block
- func (hs *HotStuff) ProcessBlock(block *blockchain.Block) error
- func (hs *HotStuff) ProcessLocalTmo(view types.View)
- func (hs *HotStuff) ProcessRemoteTmo(tmo *pacemaker.TMO)
- func (hs *HotStuff) ProcessVote(vote *blockchain.Vote)
Constants ¶
View Source
const FORK = "fork"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HotStuff ¶
func NewHotStuff ¶
func (*HotStuff) GetChainStatus ¶
func (*HotStuff) GetHighQC ¶
func (hs *HotStuff) GetHighQC() *blockchain.QC
func (*HotStuff) MakeProposal ¶
func (hs *HotStuff) MakeProposal(view types.View, payload []*message.Transaction) *blockchain.Block
func (*HotStuff) ProcessBlock ¶
func (hs *HotStuff) ProcessBlock(block *blockchain.Block) error
func (*HotStuff) ProcessLocalTmo ¶
func (*HotStuff) ProcessRemoteTmo ¶
func (*HotStuff) ProcessVote ¶
func (hs *HotStuff) ProcessVote(vote *blockchain.Vote)
Click to show internal directories.
Click to hide internal directories.