mmr
generateProof(blockNumbers: Vec<u64>, bestKnownBlockNumber?: u64, at?: BlockHash): MmrLeafBatchProof
interface:
mmr.generateProofjsonrpc:
mmr_generateProofsummary: Generate MMR proof for the given block numbers.
root(at?: BlockHash): MmrHash
interface:
mmr.rootjsonrpc:
mmr_rootsummary: Get the MMR root hash for the current best block.
verifyProof(proof: MmrLeafBatchProof): bool
interface:
mmr.verifyProofjsonrpc:
mmr_verifyProofsummary: Verify an MMR proof
verifyProofStateless(root: MmrHash, proof: MmrLeafBatchProof): bool
interface:
mmr.verifyProofStatelessjsonrpc:
mmr_verifyProofStatelesssummary: Verify an MMR proof statelessly given an mmr_root