BubblegumNifs.MerkleTree (bubblegum_nifs v0.1.0) View Source
Link to this section Summary
Functions
Calculates the size of a Merkle Tree based on max_depth, max_buffer_size, and canopy_depth.
Link to this section Functions
Link to this function
get_merkle_tree_size(max_depth, max_buffer_size, canopy_depth \\ 0)
View SourceCalculates the size of a Merkle Tree based on max_depth, max_buffer_size, and canopy_depth.
Args: max_depth (integer): Maximum depth of the tree max_buffer_size (integer): Maximum buffer size canopy_depth (integer): Depth of the canopy (defaults to 0)
Returns: integer: Total size of the Merkle Tree in bytes