alloy_trie

Module nodes

Source
Expand description

Various branch nodes produced by the hash builder.

Structs§

  • A branch node in an Ethereum Merkle Patricia Trie.
  • A struct representing a branch node in an Ethereum trie.
  • A reference to BranchNode and its state mask. NOTE: The stack may contain more items that specified in the state mask.
  • An extension node in an Ethereum Merkle Patricia Trie.
  • Reference to the extension node. See ExtensionNode from more information.
  • A leaf node represents the endpoint or terminal node in the trie. In other words, a leaf node is where actual values are stored.
  • Reference to the leaf node. See LeafNode from more information.
  • An RLP-encoded node.

Enums§

  • Enum representing an MPT trie node.

Constants§

Functions§

  • Encodes a given path leaf as a compact array of bytes.
  • rlp_nodeDeprecated
    Given an RLP-encoded node, returns it either as rlp(node) or rlp(keccak(rlp(node))).
  • word_rlpDeprecated
    Optimization for quick RLP-encoding of a 32-byte word.