Skip to main content

Module data

Module data 

Source

Structs§

SendToLinkDispatch

Enums§

LinkDataError
SendToLinkWriteError

Constants§

LINK_MDU
LINK_TRAFFIC_TIMEOUT_FACTOR
RNS 1.4.2 Link.TRAFFIC_TIMEOUT_FACTOR / TRAFFIC_TIMEOUT_MIN_MS: how long a link send waits (as a multiple of its RTT) for its proof before giving up.
LINK_TRAFFIC_TIMEOUT_MIN_MS
RECEIPT_ENFORCEMENT_SLACK_MS
RNS 1.4.2 Transport.receipts_check_interval: the reference only fails receipts on a once-per-second culling pass, so a proof landing past the nominal deadline still validates until the next pass. On a fast link its effective deadline is rtt × 6 plus up to a full second. We enforce deadlines precisely, so the interval rides on the deadline itself: a receipt fails exactly when the reference’s last-possible pass would have failed it.

Functions§

link_data_frame_ceiling
link_mdu
RNS 1.4.2 Link.update_mdu
link_raw_frame_ceiling
link_traffic_timeout_ms
write_link_packet
A sealed link data packet framed under the given wire context: WireContext::None for plain link data, or a resource-family context (an advertisement, a part request, a hashmap update).
write_link_raw_packet
A link packet whose payload rides exactly as given. No token around it. What RNS 1.4.2 Packet.pack does for context RESOURCE (parts are slices of an already-sealed stream) and RESOURCE_PRF (the proof is a bare hash pair on a PROOF-type packet).