Skip to content

nooschain v0.1.0


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?

JsonValue

stateRoot

string

Returns

Promise<VerifiedStateRootSidecarCheckpoint>

Audience-first NOOSChain documentation.