@idpass/data-collect-core / HashChainStorage
Interface: HashChainStorage
Defined in: interfaces/types.ts:629
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:631
Initialize the hash chain storage
Returns
Promise<void>
clearStore()
clearStore():
Promise<void>
Defined in: interfaces/types.ts:633
Clear the hash chain storage
Returns
Promise<void>
closeConnection()
closeConnection():
Promise<void>
Defined in: interfaces/types.ts:635
Close storage connections
Returns
Promise<void>