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

     1  package messages
     2  
     3  import (
     4  	"github.com/onflow/flow-go/model/flow"
     5  )
     6  
     7  // ChunkDataRequest represents a request for the a chunk data pack
     8  // which is specified by a chunk ID.
     9  type ChunkDataRequest struct {
    10  	ChunkID flow.Identifier
    11  	Nonce   uint64 // so that we aren't deduplicated by the network layer
    12  }
    13  
    14  // ChunkDataResponse is the response to a chunk data pack request.
    15  // It contains the chunk data pack of the interest.
    16  type ChunkDataResponse struct {
    17  	ChunkDataPack flow.ChunkDataPack
    18  	Nonce         uint64 // so that we aren't deduplicated by the network layer
    19  }