Skip to main content

Crate filecoin_f3_merkle

Crate filecoin_f3_merkle 

Source
Expand description

Merkle tree implementation matching go-f3’s merkle package

This implements the same merkle tree algorithm used by go-f3 for ECChain key generation. Uses Legacy Keccak-256 (NOT SHA3-256) with specific leaf/internal node markers.

Constants§

MERKLE_DIGEST_SIZE
Size of merkle digest in bytes
ZERO_DIGEST
Zero digest

Functions§

tree
Computes a merkle tree root from a list of byte values

Type Aliases§

MerkleDigest
Digest matching go-f3’s merkle.Digest