Skip to content

nooschain v0.1.0


nooschain / consensus/adapters/raft/raft-snapshot / createDatabaseRaftSnapshotCallbacks

Function: createDatabaseRaftSnapshotCallbacks()

createDatabaseRaftSnapshotCallbacks(db, options?): RaftSnapshotCallbacks

Defined in: consensus/adapters/raft/raft-snapshot.ts:35

Raft snapshot transfer is deliberately implemented in terms of the NOOSChain snapshot/checkpoint subsystem. The leader exports a verifiable consensus-state snapshot and the follower verifies and imports it as an explicit checkpoint. Raw database state is never copied.

Parameters

db

Kysely<Database>

options?

expectedChainId?

string

Returns

RaftSnapshotCallbacks

Audience-first NOOSChain documentation.