Skip to content

nooschain v0.1.0


nooschain / fork-choice/conflict-store / getActiveIncident

Function: getActiveIncident()

getActiveIncident(db): Promise<{ conflictId: string | null; details: JsonValue; id: string; reason: string; resolvedAt: string | null; startedAt: string; status: string; } | null>

Defined in: fork-choice/conflict-store.ts:162

Returns the newest open incident, or null when the node is not in incident mode.

Parameters

db

Kysely<Database>

Returns

Promise<{ conflictId: string | null; details: JsonValue; id: string; reason: string; resolvedAt: string | null; startedAt: string; status: string; } | null>

Audience-first NOOSChain documentation.