mirror of
https://github.com/dogecoin/dogecoin.git
synced 2026-02-01 02:50:55 +00:00
Tests 5 scenarios for transaction download scheduling: 1. Whether eventually, after a series of timeouts, all our peers that announced a transaction are sent a getdata request 2. Whether outbound peers are prioritized over inbound peers when a getdata request takes longer than optimal 3. That we honor the maximum in-flight capacity, that this is on a per-peer basis and that it resets itself after timeout 4. That when we have an inflight getdata request when a peer disconnects, we recover after the initial 30 second timeout and fetch the transaction from another peer 5. That we recover after a peer sends us a notfound message for a tx we had an inflight getdata request for.