@did-btc1/smt
    Preparing search index...

    Interface Node

    interface Node {
        copy(): Node;
        getHash(): Uint8Array;
        getSum(): bigint;
    }

    Implemented by

    Index

    Methods

    • copy performs a deep copy (or "computed" reference). In real usage, you might store partial subtrees or do a shallow copy.

      Returns Node

    • getHash returns the Merkle hash of this node.

      Returns Uint8Array

    • getSum returns the 64-bit sum that this node contributes upward.

      Returns bigint