github.com/koko1123/flow-go-1@v0.29.6/model/messages/verification.go (about)

     1  package messages
     2  
     3  import "github.com/koko1123/flow-go-1/model/flow"
     4  
     5  // ApprovalRequest represents a request for a ResultApproval corresponding to
     6  // a specific chunk.
     7  type ApprovalRequest struct {
     8  	Nonce      uint64
     9  	ResultID   flow.Identifier
    10  	ChunkIndex uint64
    11  }
    12  
    13  // ApprovalResponse contains a response to an approval request.
    14  type ApprovalResponse struct {
    15  	Nonce    uint64
    16  	Approval flow.ResultApproval
    17  }