nooschain / chain/state-root-sidecar-checkpoints / recordVerifiedStateRootSidecarCheckpoint
Function: recordVerifiedStateRootSidecarCheckpoint()
recordVerifiedStateRootSidecarCheckpoint(
database,args):Promise<VerifiedStateRootSidecarCheckpoint>
Defined in: chain/state-root-sidecar-checkpoints.ts:109
Persists verified metadata after the sidecar has exported and hashed a checkpoint.
Parameters
database
StateRootSidecarCheckpointDatabase
args
blockHash
string
checkpointHash
string
checkpointPath
string
height
string
metadata?
stateRoot
string
Returns
Promise<VerifiedStateRootSidecarCheckpoint>