github.com/koko1123/flow-go-1@v0.29.6/storage/badger/model/storedChunkDataPack.go (about)

     1  package badgermodel
     2  
     3  import (
     4  	"github.com/koko1123/flow-go-1/model/flow"
     5  )
     6  
     7  // StoredChunkDataPack is an in-storage representation of chunk data pack.
     8  // Its prime difference is instead of an actual collection, it keeps a collection ID hence relying on maintaining
     9  // the collection on a secondary storage.
    10  type StoredChunkDataPack struct {
    11  	ChunkID      flow.Identifier
    12  	StartState   flow.StateCommitment
    13  	Proof        flow.StorageProof
    14  	CollectionID flow.Identifier
    15  	SystemChunk  bool
    16  }