HomePhabricator

validation: Pass tx pool reference into CheckSequenceLocks

Authored by MarcoFalke <falke.marco@gmail.com> on Wed, Oct 2, 13:03.

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

Committed
fpelliccioniWed, Oct 2, 13:03
Pushed
deadalnixWed, Oct 2, 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