Documentation
¶
Overview ¶
Package state implements the machinery for tracking on-chain state.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChunksToV8 ¶ added in v0.4.46
Types ¶
type ChunkBodyV1 ¶ added in v0.4.46
type ChunkBodyV1 struct {
CollectionIndex uint
StartState flow.StateCommitment
EventCollection flow.Identifier
BlockID flow.Identifier
TotalComputationUsed uint64
NumberOfTransactions uint64
}
type ChunkBodyV7 ¶ added in v0.4.46
type ChunkBodyV7 struct {
CollectionIndex uint
StartState flow.StateCommitment
EventCollection flow.Identifier
ServiceEventCount *uint16
BlockID flow.Identifier
TotalComputationUsed uint64
NumberOfTransactions uint64
}
type ChunkV1 ¶ added in v0.4.46
type ChunkV1 struct {
ChunkBodyV1 ChunkBodyV1
Index uint64
EndState flow.StateCommitment
}
func ChunksToV1 ¶ added in v0.4.46
func ChunksToV1(chunks []*flowChunk) []*ChunkV1
type ChunkV7 ¶ added in v0.4.46
type ChunkV7 struct {
ChunkBodyV7 ChunkBodyV7
Index uint64
EndState flow.StateCommitment
}
func ChunksToV7 ¶ added in v0.4.46
func ChunksToV7(chunks []*flowChunk) []*ChunkV7
Click to show internal directories.
Click to hide internal directories.