diff options
| author | Suhas Daftuar <[email protected]> | 2020-01-31 11:23:27 -0500 |
|---|---|---|
| committer | Suhas Daftuar <[email protected]> | 2020-07-19 02:10:42 -0400 |
| commit | 97141ca442daea8fc9c307cf81a02b38dcc28fd8 (patch) | |
| tree | 7c481ea6bb603fca398a083b16a04c89da007f3f /src/validation.cpp | |
| parent | Add p2p message "wtxidrelay" (diff) | |
| download | discoin-97141ca442daea8fc9c307cf81a02b38dcc28fd8.tar.xz discoin-97141ca442daea8fc9c307cf81a02b38dcc28fd8.zip | |
Delay getdata requests from peers using txid-based relay
Using both txid and wtxid-based relay with peers means that we could sometimes
download the same transaction twice, if announced via two different hashes from
different peers.
Use a heuristic of delaying txid-peer-getdata requests by 2 seconds, if we have
at least one wtxid-based peer.
Diffstat (limited to 'src/validation.cpp')
0 files changed, 0 insertions, 0 deletions