github.com/koko1123/flow-go-1@v0.29.6/consensus/hotstuff/event_loop.go (about)

     1  package hotstuff
     2  
     3  import (
     4  	"github.com/koko1123/flow-go-1/model/flow"
     5  	"github.com/koko1123/flow-go-1/module"
     6  )
     7  
     8  // EventLoop performs buffer and processing of incoming proposals and QCs.
     9  type EventLoop interface {
    10  	module.HotStuff
    11  
    12  	// SubmitTrustedQC accepts QC for processing. QC will be dispatched on worker thread.
    13  	// CAUTION: QC is trusted (_not_ validated again), as it's built by ourselves.
    14  	SubmitTrustedQC(qc *flow.QuorumCertificate)
    15  }