aboutsummaryrefslogtreecommitdiff
path: root/src/consensus
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@gmail.com>2020-01-31 11:23:27 -0500
committerSuhas Daftuar <sdaftuar@gmail.com>2020-07-19 02:10:42 -0400
commit97141ca442daea8fc9c307cf81a02b38dcc28fd8 (patch)
tree7c481ea6bb603fca398a083b16a04c89da007f3f /src/consensus
parent46d78d47dea345329ba094310eec56ab00a02ddc (diff)
downloadbitcoin-97141ca442daea8fc9c307cf81a02b38dcc28fd8.tar.xz
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/consensus')
0 files changed, 0 insertions, 0 deletions