IMerkleTreeStorage interface
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Interface to work with a merkle tree storage
IMerkleTreeStorage
Signature:
export interface IMerkleTreeStorage
Methods
Method | Description |
---|---|
addToMerkleTree(identifier, mtType, hindex, hvalue) | adds entry to merkle tree |
bindMerkleTreeToNewIdentifier(oldIdentifier, newIdentifier) | binding to be able to update identifier that belongs to tree |
createIdentityMerkleTrees(identifier) | creates merkle tree in the storage |
getMerkleTreeByIdentifierAndType(identifier, mtType) | gets merkle tree by identifier and type |