mirror of
https://github.com/XRPLF/rippled.git
synced 2026-09-04 16:19:12 +00:00
DeepChain (src/tests/libxrpl/shamap/DeepChain.h) builds node chains for both acquisition suites: fabricated chains that run to SHAMap::kLeafDepth, which no valid tree can hold, and toLeaf() chains that complete an acquisition. AcquireTestHelpers.h adds ChargeRecordingPeer, RequestCountingPeerSet (deduping by tracked id like the real PeerSetImpl), packetFor(), waitFor(), and tallyIs(), so both suites can drive an acquisition through its real gotData() dispatch instead of reproducing it. TransactionAcquire and InboundLedger drop final and take a defaulted retryInterval, so tests can run a whole timeout chain in a fraction of a second; nothing in production passes one. AcquireTestHelpers.h is the first src/test file to include one from src/tests, so levelization records a new test.app > tests.libxrpl edge in ordering.txt. No loop is introduced: nothing under src/tests includes src/test. Addresses Copilot review feedback on PR #8081.