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