Expand description
The Bitcoin-inherited Merkle tree of transactions.
Structsยง
- Auth
Data Root - The root of the authorizing data Merkle tree, binding the block header to the authorizing data of the block (signatures, proofs) as defined in ZIP-244.
- Root
- The root of the Bitcoin-inherited transaction Merkle tree, binding the block header to the transactions in the block.
Constantsยง
- AUTH_
DIGEST_ PLACEHOLDER - The placeholder used for the
AuthDigestof pre-v5 transactions. - MERKLE_
PAIRS_ ๐PER_ CHUNK - Each parallel task hashes up to 128 contiguous pairs into its own contiguous output slice.
- PARALLEL_
MERKLE_ ๐THRESHOLD - Keep levels below 1,024 input nodes serial to amortize Rayon scheduling over enough hashes.
Functionsยง
- auth_
data_ ๐hash - hash ๐
- reduce_
merkle_ ๐root - Reduce ordered leaves, duplicating an unpaired final node at each level.