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
Commit 9cf32a0
Browse filesBrowse the repository at this point in the historyBrowse files
mempool: make the local-orphan capacity configurable
Address OCR findings on PR #2126:
- local_orphan_pool_capacity becomes a MempoolConfig setting (default
DEFAULT_LOCAL_ORPHAN_POOL_CAPACITY = 25), exposed through the mempool
RPC config and the node config file, like the sibling limits;
validated to be non-zero in MempoolConfig::validate;
- OrphanPoolError::LocalCapacityExceeded carries the configured limit,
mirroring TooLarge;
- the on_new_tip work-queue drain is bounded to 64 work units per event
to keep per-event latency bounded on deep reorgs; the rest of the
queue is processed by the round-based scheduler.
0 commit comments