Protocol Specification v0.5

Message Protocol

This page defines the message protocol for v0.5: the that every OIP message carries, the routing metadata that governs delivery decisions, the payload structure of each of the seven message types, and the integrated OIPMessage interface that combines header and payload. The type definitions referenced here are specified in Data Model.

Two implementations are interoperable on the OIP message protocol surface when they agree on four things: (1) the header field set and field semantics, (2) the routing metadata semantics including TTL and atomicity, (3) the payload structure for each message type, and (4) the dispatch from messageType to payload. This page is the normative definition of those four agreements.


Unified Message Header#

Every OIP message carries a unified header. The header contains the metadata required for message routing, validation, and response correlation. The header is divided into four functional groups: identification and version, origin, signature, and routing. Figure 1 shows the header anatomy.

Header anatomy

Every header has four field groups, and signatureType decides whether one node key or a BLS quorum signs the message.

Every header has four field groups, and signatureType decides whether one node key or a BLS quorum signs the message. The header fields fall into four groups: identification and version (version, messageId, messageType, timestamp), origin (sourceChainId, sourceNodeId), signature (signatureType, signature, signerSet, threshold) and routing (one RoutingMetadata field). signatureType selects how the receiver verifies the signature, and both branches verify the signature field. SINGLE checks one Ed25519 or ECDSA signature against the public key that NodeRegistry holds for sourceNodeId and ignores signerSet and threshold, which are optional and read only for THRESHOLD. THRESHOLD requires signerSet to reach the threshold quorum and the BLS aggregate to be valid for the combined key of signerSet; if either check fails, the message is rejected with INVALID_THRESHOLD_SIGNATURE. Identification and version Origin Signature Routing version "0.5.0", SemVer messageId UUID v4 2 messageType one of seven timestamp ISO 8601 3 sourceChainId CAIP-2 sourceNodeId sending node signatureType picks the scheme 1 signature 0x-prefixed hex signerSet signer node IDs threshold quorum routing RoutingMetadata priority targetScope atomicity ttlSeconds correlationId routingSlip SINGLE THRESHOLD One node key Ed25519 or ECDSA signature, checked with the public key of sourceNodeId in NodeRegistry signerSet and threshold ignored A BLS quorum aggregated signature, valid only if (a) signerSet size reaches threshold (b) the aggregate is valid for the combined key of signerSet INVALID_THRESHOLD_SIGNATURE 4
  1. 1

    One field, two schemes

    Implementations MUST support SINGLE and SHOULD support THRESHOLD. One discriminator avoids two parallel header formats.

  2. 2

    One ID, three uses

    messageId serves ACK correlation, idempotency at the receiver and routing slip records. It is opaque: no meaning may be derived from its bit pattern.

  3. 3

    Clock for the TTL

    timestamp is the send time with an explicit timezone. The receiver uses it with routing.ttlSeconds to enforce the TTL.

  4. 4

    No silent downgrade

    A failed check rejects the message with INVALID_THRESHOLD_SIGNATURE. A node without THRESHOLD support rejects it the same way and never falls back to SINGLE.

  • Discriminator field
  • Signature, verified on either branch
  • Optional; read only for THRESHOLD
  • Branch chosen by signatureType
  • Other field the check reads
  • Rejected, with its code
Figure 1: OIP Message Header Anatomy
TypeScript
interface OIPMessageHeader {  // Identification and version  version: string;                         // "0.5.0" (SemVer)  messageId: string;                       // UUID v4  messageType: OIPMessageType;  timestamp: string;                       // ISO 8601, send time  // Origin  sourceChainId: string;                   // CAIP-2  sourceNodeId: string;                    // sender node identifier  // Signature  signatureType: SignatureType;            // SINGLE | THRESHOLD  signature: string;                       // 0x-prefixed hex                                           // SINGLE: Ed25519 or ECDSA single signature                                           // THRESHOLD: BLS aggregated signature  signerSet?: string[];                    // signer identifiers when THRESHOLD  threshold?: number;                      // quorum (f+1) when THRESHOLD  // Routing  routing: RoutingMetadata;}

Identification and Version Fields#

  • version follows SemVer. v0.5 messages MUST set this field to "0.5.0". The leading v prefix is a prose convention only and MUST NOT appear in the field value. When the .proto refinement lands in v0.6, the version field also serves as the discriminator for protobuf wire compatibility checks.
  • messageId is a UUID v4 unique to this message instance. It is used for ACK correlation, idempotency enforcement at the receiver, and routing slip recording. Implementations MUST treat messageId as opaque and MUST NOT derive semantics from its bit pattern.
  • messageType is one of the seven values in OIPMessageType. The receiver dispatches the payload structure based on this field. The mapping from messageType to payload type is fixed by the OIPMessage integrated interface defined later in this page.
  • timestamp is the send time in ISO 8601 with explicit timezone (Z for UTC). The receiver uses this together with routing.ttlSeconds for TTL enforcement. Locale-dependent formats are forbidden.

Origin Fields#

  • sourceChainId is the originating chain in form (e.g., "eip155:42161"). For off-chain origins such as the , the field carries a CAIP-2-compatible identifier reserved for that origin class. The exact namespace registration for Canton-class origins is finalized as part of the v0.6 .proto refinement.
  • sourceNodeId identifies the originating node within its domain. Format is implementation-defined; the OIP requirement is uniqueness within the originating domain so that ACKs and routing slip entries can correlate back to the source.

Signature: SINGLE and THRESHOLD#

OIP supports two signature schemes within a single header structure. : SINGLE signs the message with the originating node’s single key (Ed25519 or ECDSA). signatureType: THRESHOLD uses a , with signerSet listing the participating signer node IDs and threshold indicating the quorum required for the signature to be considered valid.

Verification Procedure#

  • SINGLE: the receiver verifies the single signature against the originating node’s public key, looked up via sourceNodeId in the . If signerSet or threshold is present, the receiver MUST ignore them.
  • THRESHOLD: the receiver verifies (a) |signerSet| >= threshold, and (b) the BLS aggregated signature is valid against the combined public key derived from signerSet. Both checks MUST pass; either failure rejects the message with INVALID_THRESHOLD_SIGNATURE.

Interoperability Requirements#

  • v0.5-compliant implementations MUST support SINGLE and SHOULD support THRESHOLD. The complete classification of every requirement is consolidated on the Conformance page.
  • An implementation that does not support THRESHOLD MUST reject incoming THRESHOLD messages with the error INVALID_THRESHOLD_SIGNATURE (see Error Reference). Silent downgrade or fallback to single-signature semantics is forbidden.
  • already uses BLS for consensus, so the additional infrastructure cost of supporting THRESHOLD is minimal for nodes that participate in D-quencer consensus.

Why two schemes in one field. SINGLE is the simpler and lower-cost path for messages originating from a single trusted node, such as routine state synchronization from a domain or query messages from a single client. THRESHOLD provides Byzantine-fault-tolerant origin authentication for messages that span untrusted relayer sets, particularly for cross-chain delivery where multiple relayers must collectively attest to the message. Carrying both schemes in a single header field with a discriminator avoids two parallel header formats while preserving the security guarantee for each origin class. The discriminator pattern also aligns with the v0.6 .proto refinement where this becomes a oneof field.

Routing Metadata#

The structure governs how the message is delivered: which class it carries, which it applies to, what guarantee is requested, when it expires, and how earlier routing decisions have transformed it.

TypeScript
interface RoutingMetadata {  priority: Priority;  targetScope: TargetScope;  atomicity: AtomicityStrategy;  ttlSeconds: number;                      // seconds  correlationId?: string;                  // UUID v4 (for ACK, QUERY response)  routingSlip?: RoutingSlipEntry[];        // accumulated routing decisions}interface TargetScope {  targetChains?: string[];                 // ERC-3770 shortName list  targetAssets?: string[];                 // asset ID list  targetAddresses?: string[];              // ERC-3770 addresses}interface RoutingSlipEntry {  stage: string;                           // pipeline stage identifier  nodeId: string;                          // node that made the decision  timestamp: string;                       // ISO 8601  decision: object;                        // stage-specific decision data  mutations?: RoutingMutations;            // append-only transformations}interface RoutingMutations {  typeChanged?: OIPMessageType;            // type escalation (e.g., STATE_SYNC -> REGULATORY_ACTION)  priorityChanged?: Priority;  atomicityChanged?: AtomicityStrategy;  scopeExpanded?: string[];                // chains/assets added  scopeNarrowed?: string[];                // chains/assets removed}

TTL Determination#

Message TTL determines the freshness window of a single message: the time within which the message must be delivered, after which it is rejected as stale. OIP splits TTL responsibility between the sender and the asset-class policy. The final TTL applied to a message is computed by the receiver as final_ttl = max(sender_ttl, asset_min_ttl). Figure 2 shows the decision flow.

TTL decision

final_ttl takes the longer of the sender's TTL and the asset-class floor; a message older than final_ttl is refused.

final_ttl takes the longer of the sender's TTL and the asset-class floor; a message older than final_ttl is refused. The sender proposes sender_ttl in routing.ttlSeconds, the OSS sets asset_min_ttl as the floor for the asset class, and the receiver computes final_ttl as the larger of the two. The freshness window runs from header.timestamp: when the sender asks for less than the floor, the window ends at the floor and the sender's shorter window is not applied, and when it asks for more, it ends at the sender's value. A message received after the window closes is rejected with MESSAGE_TTL_EXPIRED. sender_ttl in routing.ttlSeconds 1 asset_min_ttl OSS floor per asset class 2 max 3 final_ttl computed by the receiver header.timestamp Sender asks less the floor wins sender_ttl asset_min_ttl MESSAGE_TTL_EXPIRED 4 final_ttl = asset_min_ttl Sender asks more the sender wins asset_min_ttl sender_ttl MESSAGE_TTL_EXPIRED final_ttl = sender_ttl
  1. 1

    The sender's value

    Recommended values run from 5 s for an ACK to 600 s for slower messages, such as a REGULATORY_ACTION below CRITICAL.

  2. 2

    Floor by asset class

    5 s for high-frequency trading assets, 30 s for general RWA assets, 600 s for regulatory action targets, and max(60, expiryTime - now) for assets near expiry.

  3. 3

    Extend, never undercut

    max lets a sender lengthen the window but never shorten it below the floor. min would let a careless sender bypass the floor.

  4. 4

    Rejected whole

    When header.timestamp plus final_ttl is earlier than now, the message is rejected with MESSAGE_TTL_EXPIRED. It is not processed, forwarded or partially executed.

  • Input to the comparison
  • Value the receiver applies
  • Freshness window
  • Sender's shorter window, not applied
  • Received later: rejected, with its code

Schematic, not to scale. Nodes are assumed time-synchronized within 5 seconds of clock skew, and the floors are chosen with that skew in mind.

Figure 2: TTL Decision Flow

Why max, Not min or Average#

The choice of max is deliberate. The asset-class minimum is a floor: the OSS guarantees that no message touching this asset is rejected as expired before asset_min_ttl elapses, because shorter windows would risk dropping legitimate messages on assets that need verification time. The sender recommendation is a ceiling preference: senders may want longer windows for non-urgent messages, but cannot shorten below the floor. max respects both: senders can extend, but never undercut, the policy floor. min would let a careless sender bypass the floor; an average would dilute the floor’s guarantee.

Message TypeRecommended TTL (s)Rationale
STATE_SYNC (incremental)30Routine sync, freshness matters
STATE_SYNC (initial / full)300Initial / full sync, queuing acceptable
REGULATORY_ACTION (CRITICAL)60Rapid processing required, but too short impedes retries
REGULATORY_ACTION (other)600Sufficient verification time
LOCK_MANAGEMENT (acquire)30Lock contention resolved quickly
LOCK_MANAGEMENT (release / extend)60Cleanup actions, slight margin
QUERY10Read-only, kept short
ACK5Response, very short
HEARTBEAT30Node liveness, one period
GOVERNANCE (PROPOSAL)600Delivery of the proposal message itself; voting period is separate
GOVERNANCE (VOTE)300Delivery of the vote message; within the voting window
GOVERNANCE (EXECUTE)600Execution message of an approved proposal

Asset-Class Minimum TTL (OSS Policy)#

  • High-frequency trading assets: minimum 5 seconds. Longer TTLs risk acting on stale state because price-sensitive assets move faster than the window allows.
  • General RWA assets: minimum 30 seconds. Sufficient for routine cross-chain delivery without freshness loss.
  • Regulatory action targets: minimum 600 seconds. Authority verification, escalation chain checks, and cross-chain coordination need substantial verification time.
  • Expiry-imminent assets: minimum max(60, expiryTime - now). Avoids accepting messages that would only finalize after the underlying asset has expired.

TTL Expiry Handling#

A message whose TTL has expired is rejected with the error MESSAGE_TTL_EXPIRED. On receipt, an implementation MUST evaluate header.timestamp + final_ttl < now and reject if the comparison holds. The expired message MUST NOT be processed, forwarded, or partially executed; rejection is total.

Clock synchronization assumption. All OIP nodes are assumed to be time-synchronized via NTP or equivalent, with a tolerance of 5 seconds for clock skew. Larger skew is treated as a node operations issue rather than a protocol concern. The asset_min_ttl policy values are chosen with this 5-second skew tolerance in mind, ensuring that legitimate messages are not rejected due to clock drift alone. Detailed time-skew attack defense is recorded as a Pending Definition item in Open Issues.

Routing Slip#

The is an append-only record of the routing decisions a message has accumulated as it traverses the pipeline. Each records the stage, the deciding node, the timestamp, and any the stage applied (for example, a type escalation from STATE_SYNC to REGULATORY_ACTION, or a priority change). The append-only property is essential: downstream stages can read the history of decisions but cannot rewrite earlier entries, which preserves the audit trail for cross-chain coordination and compliance verification. The semantics of routing slip processing are specified in Routing.

Message Type Map#

The seven message types of OIP fall into four functional categories, each with distinct processing patterns. Figure 3 shows the categorization, the type-to-payload dispatch, and the principal responsibility of each type.

Message types

messageType fixes the payload: three types change state, QUERY reads, ACK reports outcomes, two run the network.

messageType fixes the payload: three types change state, QUERY reads, ACK reports outcomes, two run the network. The receiver dispatches on header.messageType, and each of the seven types maps to one fixed payload in the OIPMessage union. STATE_SYNC, REGULATORY_ACTION and LOCK_MANAGEMENT change state, and an ACK reports their outcome, or answers a phase when they are coordinated in three phases. QUERY only reads; the requested data returns in an ACK correlated by messageId. An ACK never generates another ACK. HEARTBEAT and GOVERNANCE keep the network alive and governable. State-changing drive the synchronization Read query reads state only ACK closes the loop Operational keeps the network alive and governable header.messageType 1 Payload STATE_SYNC StateSyncPayload asset state synchronization REGULATORY_ACTION RegulatoryActionMessage one of six regulatory actions LOCK_MANAGEMENT LockManagementPayload preemptive lock operations QUERY 2 QueryPayload read-only state query data, by messageId outcome, or a phase reply when coordinated ACK 3 AckPayload outcome, or a phase reply HEARTBEAT 4 HeartbeatPayload liveness and capabilities GOVERNANCE 5 GovernancePayload parameter and registry changes
  1. 1

    Fixed dispatch

    The receiver reads header.messageType and parses the matching payload. The OIPMessage union fixes the mapping.

  2. 2

    Reads come back as ACKs

    QUERY changes nothing; the data returns in an ACK correlated by messageId, and asOfTimestamp can ask about past state.

  3. 3

    Two kinds of ACK

    A general ACK reports one message's outcome; a phase ACK answers PREPARE, COMMIT or FINALIZE. An ACK never generates another ACK.

  4. 4

    Capabilities travel along

    HEARTBEAT also advertises the message types, signature types, atomicity levels and protocol versions a node supports.

  5. 5

    The governance procedure

    Proposals, votes and execution, plus authority registration, routing table updates and parameter changes.

  • Discriminator field
  • Dispatch on header.messageType
  • The type fixes its payload
  • Reported back in an ACK
  • Functional category
Figure 3: OIP Message Type Map

This categorization clarifies why the OIP message protocol defines exactly these seven types: they cover the full spectrum of operations needed for cross-domain state coordination. State-changing messages drive the actual synchronization work. Read queries observe state without affecting it, supporting compliance audits and external integrations. ACK closes the loop on processing outcomes and coordinates phase-based protocols. Operational messages keep the network itself alive and governable.

Message Type Payloads#

This section specifies the payload structure of each of the seven message types. The dispatch from header.messageType to the payload type is fixed by the OIPMessage integrated interface defined at the end of this page.

#

Asset state synchronization. The most common message type, used for routine state updates within an as well as initial registration and full resynchronization.

TypeScript
interface StateSyncPayload {  syncType: "INITIAL_SYNC" | "INCREMENTAL_SYNC" | "FULL_RESYNC";  asset: OIPAsset;  previousStateHash?: string;              // required when INCREMENTAL_SYNC  delta?: StateDelta;                      // required when INCREMENTAL_SYNC  driverAttestation?: CantonDriverAttestation;  // when message originates from Canton}interface StateDelta {  changedFields: string[];                 // dot-paths (e.g., "lockStatus.primary")  oldValues: Record<string, unknown>;  newValues: Record<string, unknown>;}

Selection#

  • INITIAL_SYNC: the first state registration at the start of an Oracle Session.
  • INCREMENTAL_SYNC: routine in-session state changes. previousStateHash and are required, allowing the receiver to verify continuity from the prior state.
  • FULL_RESYNC: full state resynchronization after a fork or restart. The full asset is attached and delta is omitted, since there is no continuous prior state to delta against.

The field is populated when the message originates from an off-chain domain such as Canton. The receiver verifies the attestation as part of the Validation pipeline.

#

One of the six being applied. The detailed action parameters and escalation rules are specified in Regulatory Actions.

TypeScript
interface RegulatoryActionMessage {  payload: RegulatoryPayload;              // defined in Data Model  crossChainScope: CrossChainScope;  scheduledExecution?: ScheduledExecution; // when execution is not immediate}interface CrossChainScope {  targetChains: string[];                  // ERC-3770 shortName  atomicity: AtomicityStrategy;  timeoutSeconds: number;  fallbackPolicy: "RETRY" | "PARTIAL" | "ABORT";}interface ScheduledExecution {  executeAt: string;                       // ISO 8601  conditions?: string[];                   // execution preconditions (Restricted DSL)  cancellationPolicy: "AUTO_ON_CONDITION" | "MANUAL_ONLY";}

The structure determines how the action is propagated across chains. defers execution to a future time, which is useful for actions like a planned freeze that takes effect at a regulator-specified moment.

CRITICAL priority and authority verification. A REGULATORY_ACTION carrying routing.priority: CRITICAL triggers forced escalation to ALL_OR_NOTHING + ALL_CHAINS coordination (see Routing). Because this has system-wide impact, CRITICAL authorization is restricted by a registered authority hierarchy and scope limitation. The receiver verifies that the issuing authority is registered and operating within its permitted scope; on failure the message is rejected with CRITICAL_PRIORITY_NOT_AUTHORIZED. The complete authority hierarchy levels and scope verification procedure are recorded as Pending Definition in Open Issues.

#

Acquisition, release, extension, and escalation of . The lock protocol semantics are specified in State Management.

TypeScript
interface LockManagementPayload {  operation: "LOCK_ACQUIRE" | "LOCK_RELEASE" | "LOCK_EXTEND" | "LOCK_ESCALATE";  targetAssetId: string;  lockToken?: string;                      // issued token (RELEASE / EXTEND / ESCALATE)  durationSeconds?: number;                // ACQUIRE / EXTEND  newPrimaryState?: PrimaryLockState;      // ESCALATE (e.g., RESTRICTED -> SEIZED)  escalationReason?: string;  conflictPolicy?: "FAIL" | "WAIT" | "PREEMPT";  // contention handling on ACQUIRE}

conflictPolicy: PREEMPT is permitted only on messages with CRITICAL priority and is subject to the same authority verification as REGULATORY_ACTION CRITICAL messages described above. The PREEMPT policy allows the message to displace an existing lock holder; without authority, this would be an attack vector for arbitrary lock takeover.

#

Read-only state queries. The receiver returns the requested data via an ACK message correlated by messageId. asOfTimestamp enables historical queries against past OSS state, useful for compliance audits and reconciliation.

TypeScript
interface QueryPayload {  queryType: "ASSET_STATE" | "LOCK_STATUS" | "REGULATORY_HISTORY" | "CONTRACT_STATUS";  targetIdentifier: string;                // asset ID, address, etc.  requestedFields?: string[];              // for partial queries  asOfTimestamp?: string;                  // historical query (ISO 8601)  permissionContext?: PermissionContext;}interface PermissionContext {  requestorOCID: string;  attestation?: string;                    // permission proof (optional)}

The requestorOCID field carries the requestor’s , which the receiver checks against access policies before returning the requested fields.

ACK#

Receipt confirmation and execution result response. ACK serves two distinct purposes that share the same message type but are distinguished by ackType: a general ACK notifies a single message’s processing outcome, and a phase ACK responds to PREPARE / COMMIT / FINALIZE coordination phases (see Cross-chain Protocol).

TypeScript
interface AckPayload {  acknowledgedMessageId: string;           // messageId of the message being acked  ackType: AckType;  resultCode?: string;                     // error code or success code  resultData?: object;                     // result data when ackType is PROCESSED  errorDetails?: ErrorDetails;             // when ackType is FAILED or REJECTED  phaseContext?: PhaseAckContext;          // when ackType is PHASE_*}type AckType =  // General ACK (single-message processing outcome)  | "RECEIVED"          // receipt confirmed  | "PROCESSED"         // processing completed  | "FAILED"            // failure during processing  | "REJECTED"          // message itself invalid  // Phase ACK (PREPARE / COMMIT / FINALIZE phase response)  | "PHASE_PREPARE_OK"  // PREPARE phase: ready to participate  | "PHASE_COMMIT_OK"   // COMMIT phase: applied  | "PHASE_FINALIZE_OK" // FINALIZE phase: confirmed  | "PHASE_REJECT";     // any phase: rejectedinterface PhaseAckContext {  phase: "PREPARE" | "COMMIT" | "FINALIZE";  originalMessageId: string;              // messageId of the original phase message  chainId: string;                         // responding node's chain (CAIP-2)  reservedResources?: string[];            // resources reserved (PHASE_PREPARE_OK)}

General ACK vs Phase ACK#

  • General ACK (RECEIVED, PROCESSED, FAILED, REJECTED): notifies the processing outcome of a single message. The sender learns “how was my message handled”. This is the terminal point of the original message.
  • Phase ACK (PHASE_PREPARE_OK, PHASE_COMMIT_OK, PHASE_FINALIZE_OK, PHASE_REJECT): responds to one stage of the three-phase coordination protocol. The sender (the coordinator) learns “how does the participant respond to this phase”. This is an intermediate step in a multi-stage procedure, not a terminal acknowledgement.
  • Why one type with two meanings: both share the same correlation pattern (correlated by acknowledgedMessageId) and the same delivery requirements. Branching by ackType rather than by message type avoids unnecessary type proliferation while keeping the semantic distinction explicit.

ACK does not generate ACK (to avoid infinite loops). The exception is regulatory action acknowledgements, which are recorded separately for audit purposes but do not themselves produce a further ACK.

#

Node liveness signal and synchronization progress report. HEARTBEAT also carries the node’s capabilities, which advertises what the node can support to peers. The capabilities channel allows peers to discover each other’s supported message types and atomicity levels, forming the basis for compatibility decisions in mixed-version environments as the protocol evolves toward v0.6.

TypeScript
interface HeartbeatPayload {  nodeStatus: "HEALTHY" | "DEGRADED" | "RECOVERING" | "MAINTENANCE";  syncProgress: {    primaryFinalityHeight: number;         // cumulative primary finality issuances    secondaryFinalityHeight: number;       // cumulative secondary finality reaches    lagSeconds: number;                    // primary / secondary gap  };  activeChains: string[];                  // chains currently being synchronized (CAIP-2)  capabilities: NodeCapabilities;}interface NodeCapabilities {  supportedMessageTypes: OIPMessageType[];  supportedSignatureTypes: SignatureType[];  supportedAtomicityLevels: AtomicityStrategy[];  protocolVersions: string[];              // supported OIP versions}

#

Protocol parameter changes, authority registration, and routing table updates. GOVERNANCE covers the entire procedural lifecycle of governance decisions through governanceType discrimination.

TypeScript
interface GovernancePayload {  governanceType: GovernanceType;  proposalId?: string;                     // for PROPOSAL / VOTE  proposalDetails?: ProposalDetails;       // for PROPOSAL  vote?: VotePayload;                      // for VOTE  executionDetails?: ExecutionDetails;     // for EXECUTE}type GovernanceType =  | "PROPOSAL"                             // proposal creation  | "VOTE"                                 // vote  | "EXECUTE"                              // post-approval execution  | "AUTHORITY_REGISTRATION"               // authority registration  | "ROUTING_TABLE_UPDATE"                 // routing table update  | "PARAMETER_CHANGE";                    // protocol parameter changeinterface ProposalDetails {  title: string;  description: string;  proposalKind: GovernanceType;  proposedChanges: object;                  // proposal content (varies by kind)  votingPeriodSeconds: number;  executionDelaySeconds: number;            // execution delay after approval}interface VotePayload {  voterOCID: string;  voterStake: string;                       // big number string  voteDirection: "FOR" | "AGAINST" | "ABSTAIN";  voteSignature: string;}interface ExecutionDetails {  proposalId: string;  executionResult: "SUCCESS" | "FAILED" | "PARTIAL";  appliedChanges: object;}

Routing Table Updates and Authority Registration#

Two GOVERNANCE subtypes are particularly significant for OIP operation. ROUTING_TABLE_UPDATE manages four routing-relevant registries: (supported chains), (asset-to-chain mapping), (regulatory authorities and their permitted scope), and (OIP node identities and supported features). All four are modified through the same governance procedure (PROPOSAL → voting period → EXECUTE) rather than through automatic discovery, ensuring that routing-critical state changes are auditable and consensus-driven. AUTHORITY_REGISTRATION is the channel through which regulatory authorities are added to the AuthorityRegistry, including the authority’s hierarchy level, jurisdictional scope, and verification key; it is the prerequisite for the CRITICAL priority verification described earlier in this page.

Deterministic activation. When a routing table update is approved and executed, the effectiveAt timestamp is interpreted against the deterministic time recorded in the OSS State Root, not the local clock of each receiving node. This ensures that all nodes processing the same OSS State Root reach the same routing decision, eliminating divergence due to clock skew. The semantics of dynamic routing table updates are specified in Routing; automatic discovery mechanisms beyond explicit governance are recorded as a Deferred item in Open Issues.

Procedural Time vs Message TTL#

GOVERNANCE proceeds through multiple stages (PROPOSAL → voting period → EXECUTE), each handled by a separate message. The TTL of each message is independent of the procedural time windows.

  • Message TTL (header.routing.ttlSeconds): the freshness window for delivery of a single message. The recommended values are listed earlier in this page.
  • Procedural time (votingPeriodSeconds, executionDelaySeconds): the time windows of the governance procedure itself, such as the voting period and the execution delay after approval.
  • Independence: a 600-second TTL on a PROPOSAL message means “this PROPOSAL message must be delivered within 600 seconds”, while votingPeriodSeconds: 86400 means “the voting window is 24 hours”. The two values are independent.
  • In-window messages: VOTE messages arrive throughout the voting period, each with its own TTL (300 seconds recommended). The voting result is tallied at the end of votingPeriodSeconds.

This separation has a practical consequence for fault tolerance: retry policies (specified in Fault Tolerance) operate on individual messages, not on procedural windows. A failed VOTE message can be retried within its 300-second TTL without affecting the overall voting period.

OIPMessage Integrated Interface#

Every OIP message follows the integrated structure below. The concrete payload type is determined by header.messageType: this discriminated union is the integrated form of the seven payload types described above. In the v0.6 .proto refinement, this discriminated union is expressed as a Protocol Buffers oneof.

TypeScript
interface OIPMessage {  header: OIPMessageHeader;  payload: OIPPayload;  crossChainScope?: CrossChainScope;       // present for cross-chain messages  proof?: MessageProof;                    // present when a proof is attached}type OIPPayload =  | StateSyncPayload  | RegulatoryActionMessage  | LockManagementPayload  | QueryPayload  | AckPayload  | HeartbeatPayload  | GovernancePayload;interface MessageProof {  proofType: "FULL" | "INCREMENTAL" | "AGGREGATE" | "GKR";  zkProof?: string;                        // 0x-prefixed hex (zk proof)  merkleProof?: MerkleProof;               // Merkle proof (optional)  proofMetadata?: object;}interface MerkleProof {  root: string;  leaf: string;  path: string[];  pathDirections: ("LEFT" | "RIGHT")[];}

crossChainScope is present when the message targets multiple chains, and its content matches the CrossChainScope defined in the RegulatoryActionMessage payload above. proof is attached when the message carries cryptographic evidence: zk proofs (including proofs from ), Merkle proofs, or aggregate proofs.


  • Data Model defines the enumerations, address system, and type primitives referenced in the header and payloads.
  • Routing defines content-based routing, atomicity-driven coordination, and routing slip processing.
  • State Management defines the lock protocol semantics for LOCK_MANAGEMENT.
  • Validation defines the per-message-type validation pipelines and Driver Attestation verification.
  • Regulatory Actions defines the six regulatory actions referenced in REGULATORY_ACTION.
  • Cross-chain Protocol defines the three-phase broadcast that Phase ACK responds to.
  • Fault Tolerance defines retry policies, idempotency, and DLQ.
  • Error Reference lists every error code referenced on this page.
  • Conformance aggregates the MUST / SHOULD / MAY classification of every requirement on this page.
  • Open Issues records the items deferred or pending definition that this page references.