mirror of
https://github.com/XRPLF/rippled.git
synced 2026-09-05 16:48:24 +00:00
TransactionAcquire::takeNodes() now accumulates one SHAMapAddNode across the whole batch, so a packet ending on one bad node still counts the nodes hooked in ahead of it, matching InboundLedger::receiveNode(). The body moves to takeNodesLocked(); takeNodes() becomes a thin wrapper that records progress once, on the single exit, since several inner exits stop the batch early. Progress turns on the batch being useful rather than merely good, so an all-duplicate batch - an honest second responder to trigger()'s fan-out - records none but still isn't charged.