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

     1  package verification
     2  
     3  import (
     4  	"github.com/koko1123/flow-go-1/model/flow"
     5  )
     6  
     7  // VerifiableChunkData represents a ready-to-verify chunk
     8  // It contains the execution result as well as all resources needed to verify it
     9  type VerifiableChunkData struct {
    10  	IsSystemChunk     bool                  // indicates whether this is a system chunk
    11  	Chunk             *flow.Chunk           // the chunk to be verified
    12  	Header            *flow.Header          // BlockHeader that contains this chunk
    13  	Result            *flow.ExecutionResult // execution result of this block
    14  	ChunkDataPack     *flow.ChunkDataPack   // chunk data package needed to verify this chunk
    15  	EndState          flow.StateCommitment  // state commitment at the end of this chunk
    16  	TransactionOffset uint32                // index of the first transaction in a chunk within a block
    17  }