Page MenuHomePhabricator

Merge #12392: Fix ignoring tx data requests when fPauseSend is set on a peer
ClosedPublic

Authored by markblundeberg on Jun 20 2019, 20:06.

Details

Summary

PR12392 backport https://github.com/bitcoin/bitcoin/pull/12392/files
c4af738 Fix ignoring tx data requests when fPauseSend is set on a peer (Matt Corallo)

Pull request description:

This resolves a bug introduced in
66aa1d58a158991a8014a91335b5bc9c00062f56 where, if when responding
to a series of transaction requests in a getdata we hit the send
buffer limit and set fPauseSend, we will skip one transaction per
call to ProcessGetData.

Bug found by Cory Fields (@theuni).

Probably worth slipping into 0.16 :/.

(cf D2606 - the corresponding diff of ours)

Test Plan

make check
test_runner.py

Diff Detail

Repository
rABC Bitcoin ABC
Branch
patch123
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 6415
Build 10877: Bitcoin ABC Buildbot (legacy)
Build 10876: arc lint + arc unit

Event Timeline

markblundeberg edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Jun 20 2019, 20:15