Skip to main content

Module iri

Module iri 

Source
Expand description

Service-channel IRI binding and delivery-stage receipts (NET-05.06 partial).

IRI bytes are already hashed by the caller into StrongDigest. Two different services claiming the same digest is QdnfError::Conflict; the same digest on the same service is idempotent. Transport ACK and consumption are not durable application or economic receipts. Datagram expiry is independent of this table. Packages remain open.

Structs§

ChannelBind
Bind a caller-hashed service IRI to a service channel and operation.
ChannelTable
Sixteen-slot service-channel table. Empty slots are None.

Constants§

MAX_CHANNELS
Occupied service-channel slots. A 17th distinct bind is Capacity.

Functions§

consumed_is_durable_applied
Consumption is never durable application.
stage_implies_durable
Durable application and economic receipts only. Transport ACK and consumption do not imply durable applied state.
transport_ack_is_economic_receipt
Transport ACK is never an economic receipt.