nooschain / fork-choice/conflict-types / ConflictDecision
Interface: ConflictDecision
Defined in: fork-choice/conflict-types.ts:57
Decision returned by a conflict policy after classifying a conflict.
Properties
action
action:
"continue"|"reject_remote"|"quarantine_peer"|"enter_incident_mode"
Defined in: fork-choice/conflict-types.ts:59
Local action the caller should perform after policy evaluation.
conflict?
optionalconflict?:ChainConflict
Defined in: fork-choice/conflict-types.ts:69
Conflict record to persist, when the decision creates one.
reason
reason:
string
Defined in: fork-choice/conflict-types.ts:65
Human-readable reason for logs and operator diagnostics.
severity
severity:
ChainConflictSeverity
Defined in: fork-choice/conflict-types.ts:67
Severity assigned by the policy.