You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
node: forget a re-anchor seed whose pool stays absent above the seed block #2750
area:nodedecdn-node daemon: runtime, handlers, admin RPC, serve patharea:paymentsPools, vouchers, redeem, reclaim, staking (incentive crate and chain)kind:featureNew capability or a change to current behaviorprio:lowWhen convenient
Today. The settlement watcher re-reads each pool that the admit path seeded from one getPool after a restart (reanchor_pools, crates/node/src/payment_settlement.rs). A pool absent at the pinned block stays pending on purpose: the backend may be behind the admit read. But if a reorg dropped the pool's open, the read finds it absent on every tick. The pool stays pending and costs one getPool per rotation. The admit path also keeps serving it from its seed until the next restart, like the orphaned-PoolOpened residual that the chain_events module documents.
#2710 makes the case visible (decdn_settlement_reanchor_absent_total, and decdn_settlement_reanchor_pending_pools that never falls), but nothing retires the seed.
Ask. Forget the entry after N absent reads at blocks above the seed's read, so that the admit path resolves the pool again (and refuses it if it is still absent). The block bound keeps the lagging-backend guard: a read at a block below the admit read proves nothing.
Check. A test where a seeded pool reads absent at N pinned blocks above its seed: the projection forgets it, and a following admission sends a fresh getPool.
Moot after #2899 (90e2c23). The node no longer keeps re-anchor seeds: reanchor_pools and the decdn_settlement_reanchor_* metrics are gone. Settlement reads pools with getPool on demand, and read_pools / refresh_live in payment_settlement.rs drop a pool the chain does not report, so no seed stays pending.
area:nodedecdn-node daemon: runtime, handlers, admin RPC, serve patharea:paymentsPools, vouchers, redeem, reclaim, staking (incentive crate and chain)kind:featureNew capability or a change to current behaviorprio:lowWhen convenient
Activity
yigitdot commentedon Nov 26, 2026
Moot after #2899 (90e2c23). The node no longer keeps re-anchor seeds:
reanchor_poolsand thedecdn_settlement_reanchor_*metrics are gone. Settlement reads pools withgetPoolon demand, andread_pools/refresh_liveinpayment_settlement.rsdrop a pool the chain does not report, so no seed stays pending.