Skip to main content

Module trees

Module trees 

Source
Expand description

Merkle Trees used by the protocol.

Every tree hashes its inner nodes with its own key, so a node of one tree can’t be interpreted as a node of another tree. Trees with a number of leaves that isn’t known at compile time also commit to it.

Type Aliases§

BeaconChainBodyMerkleTree
Beacon chain block body
BeaconChainHeaderMerkleTree
Beacon chain block header fields, its root is the block root
BlockMerkleMountainRange
Beacon chain block roots.
ChildIntermediateShardBlocksMerkleTree
Child intermediate shard block roots of a beacon chain block
ChildLeafShardBlocksMerkleTree
Child leaf shard block roots of an intermediate shard block
IntermediateShardBodyMerkleTree
Intermediate shard block body
IntermediateShardHeaderMerkleTree
Intermediate shard block header fields, its root is the block root
IntermediateShardsSegmentsMerkleTree
Segments of child intermediate shard blocks of a beacon chain block
LeafShardBodyMerkleTree
Leaf shard block body
LeafShardHeaderMerkleTree
Leaf shard block header fields, its root is the block root
LeafShardsSegmentsMerkleTree
Own segments of child leaf shard blocks of an intermediate shard block
OwnSegmentsMerkleTree
Own segments of a shard
SegmentRootsMerkleTree
Segment roots of own segments of a shard
ShardOwnSegmentsMerkleTree
Own segments of a leaf shard
StateOwnerContractsSparseMerkleTree
State of one owner: hashes of contents of slots by the address of the managing contract
StateOwnersSparseMerkleTree
Global state: state roots of owners by owner address
SuperSegmentMerkleTree
Segment roots with their positions in a super segment
TransactionsMerkleTree
Transactions of a leaf shard block