OverviewFilesCommitsIssuesDocsReleasesPeers

P2P-Hiverelay / packages / blind-ipc / vectors / v2 / conformance / contract.json

147 lines · json ref:
{
  "bindingValidationIsAuthoritative": false,
  "callerPeerCredentialAssertionAccepted": false,
  "contractLayerMintsRuntimeAuthority": false,
  "formatVersion": 2,
  "httpsTransport": {
    "authorityKind": 1,
    "tlsExporterBytes": 32,
    "tlsExporterLabel": "EXPORTER-HiveRelay-Blind-Staged-Cell-Put-v2",
    "transportId": 1,
    "transportSupportBit": 1
  },
  "limits": {
    "CELL_PUT_MAX_RESULT_BODY_BYTES": 16384,
    "CELL_PUT_WORST_CASE_MINIMUM_OUTER_CLASS": 3,
    "CELL_PUT_WORST_CASE_RESULT_ENVELOPE_BYTES": 16435,
    "DISPATCH_HEADER_BYTES": 45,
    "LOCAL_FRAME_BYTES": 65535,
    "LOCAL_FRAME_CONTENT_BYTES": 65515,
    "OPEN_DEADLINE_MILLIS": 15000,
    "OUTER_HEADER_BYTES": 6,
    "PUBLIC_SESSION_BINDING_HASH_BYTES": 32,
    "READY_ACK_BYTES": 133,
    "READY_DEADLINE_MILLIS": 2000,
    "READY_PROBE_BYTES": 95,
    "STAGED_FRAME_HEADER_BYTES": 20,
    "STAGED_OPEN_BYTES": 200,
    "STAGED_OPEN_HEADER_BYTES": 38,
    "TLS_EXPORTER_BYTES": 32,
    "TLS_EXPORTER_CONTEXT_BYTES": 32,
    "TRANSPORT_BINDING_BYTES": 162
  },
  "localChannelClassByOuterClass": {
    "1": 1,
    "2": 1,
    "3": 1,
    "4": 1,
    "5": 1,
    "6": 1
  },
  "magic": "hiverelay-blind-private-ipc-v2",
  "nonceLifecycle": {
    "edgeProcessNonce": "os-csprng-once-after-start-or-fork-stable-until-process-exit-never-persisted-or-reused",
    "localChannelNonce": "fresh-os-csprng-for-every-open-attempt-never-reused"
  },
  "precommitOrder": [
    "native-peer-credentials",
    "exact-v2-open",
    "transport-profile",
    "launch-topology",
    "endpoint",
    "open-deadline",
    "initial-cell-put-outer-class-3-through-6",
    "open-binding",
    "branded-persisted-descriptor-floor-readiness-sequence-at-least-1",
    "counter-only-memory-reservation",
    "durable-replay-consume",
    "first-request-body-pull",
    "owned-prefix-side-effect-free-branded-admission-preflight",
    "reversible-ephemeral-body-staging",
    "exact-outer-request-fin",
    "edge-write-half-close-response-half-readable",
    "daemon-observed-authenticated-peer-eof",
    "canonical-post-eof-revalidation",
    "final-caller-cancellation-and-lifecycle-fence-before-publish",
    "non-cancellable-publish-and-put-atomic-committed",
    "sign-and-same-class-result"
  ],
  "publicWireOperation": {
    "endpointRoleBit": 1,
    "familyId": 2,
    "operationBit": 8,
    "operationId": 1,
    "requestFrameKind": 1,
    "resultFrameKinds": [
      2,
      3
    ]
  },
  "replayPolicy": {
    "acceptedRecordMaximumTtlMillis": 15000,
    "authorityKind": "module-private-branded-journal-and-one-use-consume-receipt",
    "capacity": 4096,
    "freshEntryExpiry": "exact-open-deadline",
    "liveEntryEvictionPermitted": false,
    "quarantineReadinessBrand": "withheld",
    "quarantineReadyAck": "suppress-or-refuse",
    "quarantineZeroWriteBitsAckPermitted": false,
    "recoveredEntryMinimumRetentionMillis": 15000,
    "recoveredRetentionBasis": "conservative-startup-fence-not-accepted-record-ttl",
    "startupWriteQuarantineMillis": 15000
  },
  "requiredFeatureBits": 63,
  "schemaCount": 12,
  "schemaIds": [
    8,
    9,
    10,
    11,
    12
  ],
  "stagedCellPutPolicy": {
    "atomicCommitRecordKind": "PUT_ATOMIC_COMMITTED",
    "cancellationFence": "under-canonical-locks-immediately-before-non-cancellable-publish-and-commit-unit",
    "fixedMaximumResultBodyBytes": 16384,
    "fixedRequiredResultEnvelopeBytes": 16435,
    "initialMinimumOuterClass": 3,
    "initialOuterClasses": [
      3,
      4,
      5,
      6
    ],
    "legacyReservationWalRecoveryCompatible": true,
    "minimumReadyDescriptorSequence": 1,
    "nonCancellableCommitUnit": "publish-through-put-atomic-committed-fsync-and-apply",
    "preEofAdmission": "owned-prefix-side-effect-free-branded-preflight-only",
    "preEofStorage": "reversible-ephemeral-staging-only",
    "publicResultRequires": "exact-outer-plus-request-fin-plus-edge-write-half-close-plus-daemon-observed-authenticated-peer-eof-plus-canonical-revalidation",
    "requestCompletion": {
      "callerEofAssertionPermitted": false,
      "commitBeforeDaemonObservedEofPermitted": false,
      "daemonEofAuthority": "module-private-same-native-peercred-authenticated-stream-eof-after-request-fin",
      "edgeResponseHalfReadableUntilTerminal": true,
      "frameVerifierMintsEofAuthority": false,
      "negativeSemantics": {
        "eofBeforeFin": "generic-local-abort-no-public-error-no-commit",
        "finWithoutEof": "caller-cancellation-or-deadline-then-generic-local-abort-no-public-error-no-commit",
        "requestDataAfterFin": "generic-local-abort-no-public-error-no-commit",
        "responseHalfClosedBeforeTerminal": "caller-cancelled-pre-boundary-discards-post-boundary-commit-completes-without-result",
        "resultBeforeDaemonObservedEof": "forbidden-runtime-conformance-failure"
      },
      "sequence": [
        "exact-outer-request-fin",
        "edge-write-half-close",
        "daemon-observed-authenticated-peer-eof",
        "canonical-post-eof-revalidation"
      ]
    },
    "resultSizingAuthority": "fixed-generated-worst-case-only",
    "v2EmitsLegacyReservationWal": false,
    "walPrewriteFence": "internal-writer-and-commit-invariants-only-never-caller-cancellation"
  },
  "v1FallbackPermitted": false,
  "v1SchemaCount": 7
}