diff options
| author | Pieter Wuille <[email protected]> | 2020-09-23 16:39:33 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2020-10-12 12:14:53 -0700 |
| commit | 173a1d2d3f824b83777ac713e89bee69fd87692d (patch) | |
| tree | 06c0910d6a2b4435246c1d20d757c839df5991a6 /src/script/script.cpp | |
| parent | Reduce MAX_PEER_TX_ANNOUNCEMENTS for non-PF_RELAY peers (diff) | |
| download | discoin-173a1d2d3f824b83777ac713e89bee69fd87692d.tar.xz discoin-173a1d2d3f824b83777ac713e89bee69fd87692d.zip | |
Expedite removal of tx requests that are no longer needed
Whenever a transaction is added to the mempool or orphan pool, both
its txid and wtxid are considered AlreadyHave, and thus will eventually
be removed from m_txrequest.
The same is true for hashes added to the reject filter, but note that sometimes
only the wtxid is added (in which case only the wtxid can be removed from
m_txrequest).
Diffstat (limited to 'src/script/script.cpp')
0 files changed, 0 insertions, 0 deletions