Result
Outcome of a coherence check. All variants carry both versions for display.
Inheritors
Types
Link copied to clipboard
data class Incompatible(val clientLedgerVersion: String, val nodeSpecName: String, val nodeSpecVersion: Long, val message: String) : VersionCoherence.Result
Node version is outside the known-compatible set AND the policy is set to hard-fail (HARD_FAIL_ON_SKEW = true). The SDK should refuse to submit.
Link copied to clipboard
The check itself couldn't run (node unreachable, RPC unsupported, parse failure). NOT a skew — the SDK proceeds (the node will validate the tx anyway); recorded for diagnostics.
Link copied to clipboard
data class Warning(val clientLedgerVersion: String, val nodeSpecName: String, val nodeSpecVersion: Long, val message: String) : VersionCoherence.Result
Node version is outside the known-compatible set, but the policy is non-blocking (HARD_FAIL_ON_SKEW = false). Loud warning; the SDK still proceeds.