Skip to main content

Module dtn

Module dtn 

Source
Expand description

Delay-tolerant transfer holds and effect uniqueness (E11.4, E11.6).

Release requires unexpired time and current authority generation. Transport retry is not a second user-visible effect. Tombstoned ids cannot apply. Cancelled resume is QdnfError::Cancelled. Duplicate commit_pair is already idempotent by operation_id. The mailbox is not Bundle Protocol.

Structs§

DtnHold
Held DTN object: operation identity, expiry, and authority generation.

Functions§

apply_live_effect
Apply a local effect unless the id is tombstoned (rollback / retain).
effect_id
Dedup key: SHA-384 operation_id.
mailbox_is_bundle_protocol
Mailbox store-and-forward is not Bundle Protocol compatible.
release_hold
Release after expiry and current-authority checks.
resume_if_open
Cancelled resume cannot continue as a live transfer.
retry_is_new_effect
Transport retry must not create a second user-visible effect.
rollback_tombstone
Retain a tombstone so a later apply cannot succeed.
transport_retry_effect
Retry an already-applied effect: same operation_id, not a new effect.