Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterLightBlock ¶
type ClusterLightBlock struct {
ID flow.Identifier
Height uint64
CollectionID flow.Identifier
Transactions []flow.Identifier
}
func ClusterBlockToLight ¶
func ClusterBlockToLight(clusterBlock *cluster.Block) *ClusterLightBlock
func ReadClusterLightBlockByHeightRange ¶
func ReadClusterLightBlockByHeightRange(clusterBlocks storage.ClusterBlocks, startHeight uint64, endHeight uint64) ([]*ClusterLightBlock, error)
type LightBlock ¶
type LightBlock struct {
ID flow.Identifier
Height uint64
Collections []flow.Identifier
}
func BlockToLight ¶
func BlockToLight(block *flow.Block) *LightBlock
Click to show internal directories.
Click to hide internal directories.