HomePhabricator

validation: Pass tx pool reference into CheckSequenceLocks

Description

validation: Pass tx pool reference into CheckSequenceLocks

Summary:
CheckSequenceLocks is called from ATMP and the member function CTxMemPool::removeForReorg without passing in the tx pool object that is used in those function's scope and instead using the global ::mempool instance.

Backport of Bitcoin Core PR13783
https://github.com/bitcoin/bitcoin/pull/13783

Test Plan:

make check-all

Reviewers: Fabien, #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D4178

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Oct 2 2019, 13:03
fpelliccioniCommitted on Oct 2 2019, 13:03
deadalnixPushed on Oct 2 2019, 14:10
Reviewer
Restricted Project
Differential Revision
D4178: validation: Pass tx pool reference into CheckSequenceLocks
Parents
rSTAGINGc57daa89273c: utils: Convert Windows args to utf-8 string
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/13322