pub const MAX_DEFERRED_ACKS_PER_POLYNOMIAL: usize = 128;Expand description
Cap on deferred acknowledgements held for a single polynomial.
A conforming Entry emits threshold + surplus shares per polynomial — 96 at the default
dimensions — across all return paths combined, so at the defaults this cannot be reached without
the peer exceeding its own share budget. Anything above the cap is dropped rather than buffered.
It is not unreachable in general: both halves are a byte wide, so a conforming Entry may
legitimately announce up to 255 + 255 and have its excess deferrals silently discarded. Both
values now travel in PixParams, so an Exit that cares can compare
shares_per_poly + surplus_shares against this cap when it accepts a Session, instead of
discovering the overflow one dropped acknowledgement at a time.
Public because it is observable behaviour, not an implementation detail: past the cap an acknowledgement is discarded, so anything measuring or exercising the deferral path has to stay underneath it or it silently measures the discard instead.