Skip to content

nooschain v0.1.0


nooschain / fork-choice/conflict-store / quarantinePeer

Function: quarantinePeer()

quarantinePeer(db, peerId, reason): Promise<void>

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

Locally quarantines a trusted peer after a conflict or operator action.

Quarantine disables normal transport use of the peer but does not remove the peer row, ban it permanently, or alter validator governance.

Parameters

db

Kysely<Database>

peerId

string

reason

string

Returns

Promise<void>

Audience-first NOOSChain documentation.