Optional
completeOptional
concatenatorOptional
duplicateIf set to true
, an odd node will be duplicated and combined to make a pair to generate the layer hash.
Optional
fillIf defined, the resulting hash of this function will be used to fill in odd numbered layers.
Optional
hashIf set to true
, the leaves will hashed using the set hashing algorithms.
Optional
isIf set to true
, constructs the Merkle Tree using the Bitcoin Merkle Tree implementation. Enable it when you need to replicate Bitcoin constructed Merkle Trees. In Bitcoin Merkle Trees, single nodes are combined with themselves, and each output hash is hashed again.
Optional
sortIf set to true
, the leaves and hashing pairs will be sorted.
Optional
sortIf set to true
, the leaves will be sorted. Recommended for use of multiProofs.
Optional
sortIf set to true
, the hashing pairs will be sorted.
Generated using TypeDoc
If set to
true
, the resulting tree will be a complete tree. Recommended for use of multiProofs.