Type Alias casper_node::types::TrieOrChunk

source ·
pub type TrieOrChunk = ValueOrChunk<HashingTrieRaw>;
Expand description

Represents an enum that can contain either a whole trie or a chunk of it.

Aliased Type§

enum TrieOrChunk {
    Value(HashingTrieRaw),
    ChunkWithProof(ChunkWithProof),
}

Variants§

§

Value(HashingTrieRaw)

Represents a value.

§

ChunkWithProof(ChunkWithProof)

Represents a chunk of data with attached proof.