Skip to content

nooschain v0.1.0


nooschain / node-sync/sync-types / ChainSyncResult

Interface: ChainSyncResult

Defined in: node-sync/sync-types.ts:44

Summary of one sync attempt against one peer.

Properties

finalLocalHeight

finalLocalHeight: string | null

Defined in: node-sync/sync-types.ts:56

Local height after this peer attempt completed.


issues

issues: string[]

Defined in: node-sync/sync-types.ts:60

Human-readable sync issues, empty on success.


peerId

peerId: string

Defined in: node-sync/sync-types.ts:46

Local trusted peer id used for this attempt.


peerNodeId

peerNodeId: string

Defined in: node-sync/sync-types.ts:48

Remote node id used for operator diagnostics.


previousLocalHeight

previousLocalHeight: string | null

Defined in: node-sync/sync-types.ts:50

Local height before this peer was contacted.


remoteHeight

remoteHeight: string | null

Defined in: node-sync/sync-types.ts:52

Remote height reported by the peer, if a head could be read.


syncedBlocks

syncedBlocks: number

Defined in: node-sync/sync-types.ts:54

Number of blocks fetched, validated, inserted, and executed.


verificationOk

verificationOk: boolean

Defined in: node-sync/sync-types.ts:58

True when block validation/execution completed without sync errors.

Audience-first NOOSChain documentation.