 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type ColdStuff
- func (e *ColdStuff) Done() <-chan struct{}
- func (e *ColdStuff) Ready() <-chan struct{}
- func (e *ColdStuff) SubmitCommit(commit *model.Commit)
- func (e *ColdStuff) SubmitProposal(proposal *flow.Header, parentView uint64)
- func (e *ColdStuff) SubmitVote(originID, blockID flow.Identifier, view uint64, sigData []byte)
 
- type Communicator
- type Follower
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColdStuff ¶
type ColdStuff struct {
	// contains filtered or unexported fields
}
    ColdStuff implements coldstuff.
func (*ColdStuff) SubmitCommit ¶
func (*ColdStuff) SubmitProposal ¶
func (*ColdStuff) SubmitVote ¶
func (e *ColdStuff) SubmitVote(originID, blockID flow.Identifier, view uint64, sigData []byte)
type Communicator ¶
type Communicator interface {
	hotstuff.Communicator
	BroadcastCommit(commit *model.Commit) error
}
    Communicator is the interface for sending messages to other nodes within a ColdStuff consensus.
NOTE: It re-uses as much of the HotStuff interface and models as possible to simplify swapping between the two.
type Follower ¶
type Follower struct {
	// contains filtered or unexported fields
}
    func NewFollower ¶
 Click to show internal directories. 
   Click to hide internal directories.