@idpass/data-collect-core / HashChainStorage
Interface: HashChainStorage
Defined in: interfaces/types.ts:710
Hash chain storage interface for data integrity verification. Replaced the Merkle tree approach with an incremental hash chain for O(1) append and simpler implementation.
Methods
initialize()
initialize():
Promise<void>
Defined in: interfaces/types.ts:712
Initialize the hash chain storage
Returns
Promise<void>
clearStore()
clearStore():
Promise<void>
Defined in: interfaces/types.ts:714
Clear the hash chain storage
Returns
Promise<void>
closeConnection()
closeConnection():
Promise<void>
Defined in: interfaces/types.ts:716
Close storage connections
Returns
Promise<void>