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

     1  package forks
     2  
     3  import (
     4  	"github.com/koko1123/flow-go-1/consensus/hotstuff/model"
     5  	"github.com/koko1123/flow-go-1/model/flow"
     6  )
     7  
     8  // BlockQC is a Block with a QC that pointing to it, meaning a Quorum Certified Block.
     9  // This implies Block.View == QC.View && Block.BlockID == QC.BlockID
    10  type BlockQC struct {
    11  	Block *model.Block
    12  	QC    *flow.QuorumCertificate
    13  }