Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

BinaryNodeImpl

Trait for creating and manipulating BinaryNode instances

Fully qualified path: alexandria_merkle_tree::storage_proof::BinaryNodeImpl

pub impl BinaryNodeImpl of BinaryNodeTrait;

Impl functions

new

Creates a new BinaryNode with the specified left and right child hashes

Arguments

  • left - Hash of the left child node
  • right - Hash of the right child node

Returns

  • BinaryNode - A new BinaryNode instance with the specified children

Fully qualified path: alexandria_merkle_tree::storage_proof::BinaryNodeImpl::new

fn new(left: felt252, right: felt252) -> BinaryNode