Skip to main content

Module credit

Module credit 

Source
Expand description

Stream receive credit backed by RT-01 ledger + lease reservations.

NET-05.07 (partial, packages remain open): every granted stream receive window is charged on ReservationLedger and physically backed by a direction-aggregate BufferLease so out-of-order buffers cannot hide overcommit. 64 streams per direction class; purchased service does not disable congestion/fairness (NET-05.09 partial). ACK range cap is 8 (NET-05.08 partial).

One lease slot backs the configured direction window (aggregate), not one slot per stream. LeaseTable has 32 slots; the protocol limit is 64.

Re-exports§

pub use super::streams::MAX_STREAMS_PER_DIR;

Structs§

CreditTable
StreamCredit

Constants§

DIR_CLIENT
Bidirectional client-initiated streams.
DIR_SERVER
Server-initiated streams.
MAX_ACK_RANGES

Functions§

ack_range_cap
CreditTable::ack_range_cap.
purchased_service_disables_congestion
Purchased / priority service must not turn off congestion or fairness (control vs background still share WorkClass queues).