Skip to main content

WRITE_OFF_HORIZON

Constant WRITE_OFF_HORIZON 

Source
const WRITE_OFF_HORIZON: Duration;
Expand description

How long a SURB written off through a relayer known dead keeps counting as held by the counterparty, and therefore as invalid.

The counterparty spends what it holds within the time it takes its stock to turn over, after which a written-off SURB is gone and counting it on only makes the balancer over-produce. Counted for good, the probes through a relayer on probation grew the count without bound (26 per second at production dimensions: twice the target in 13 minutes, and the balancer at its ceiling within the hour). Two race timeouts cover the turnover at the production rate (48 s for the deployed stock at 400 replies a second) and most of it in a quiet Session (128 s at 150); what a slower Session’s count misses is bounded by the probe rate limit, a probe a second.