github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/model/messages/verification.go (about)

     1  package messages
     2  
     3  import "github.com/onflow/flow-go/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  }