diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-12-08 10:00:49 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-12-08 10:00:55 +0100 |
commit | 84d921e79c738c7959692a4e7a76327469e8cc50 (patch) | |
tree | e0889ea5c2d31ff53dca3afdea9245eba6e0191f /src/rpc/blockchain.h | |
parent | 099325a7594f8187f9067d5bff8390084cceb9dd (diff) | |
parent | f1f10c0514fe81318c8b064f9dad0e2f9a2cd037 (diff) | |
download | bitcoin-84d921e79c738c7959692a4e7a76327469e8cc50.tar.xz |
Merge bitcoin/bitcoin#23465: Remove CTxMemPool params from ATMP
f1f10c0514fe81318c8b064f9dad0e2f9a2cd037 Remove CTxMemPool params from ATMP (lsilva01)
Pull request description:
Remove `CTxMemPool` parameter from `AcceptToMemoryPool` function, as suggested in https://github.com/bitcoin/bitcoin/pull/23437#issuecomment-962536149 .
This requires that `CChainState` has access to `MockedTxPool` in `tx_pool.cpp` as mentioned https://github.com/bitcoin/bitcoin/pull/23173#discussion_r731895386. So the `MockedTxPool` is attributed to `CChainState::m_mempool` before calling `AcceptToMemoryPool`.
Requires #23437.
ACKs for top commit:
jnewbery:
utACK f1f10c0514fe81318c8b064f9dad0e2f9a2cd037
MarcoFalke:
review ACK f1f10c0514fe81318c8b064f9dad0e2f9a2cd037 🔙
Tree-SHA512: 2a4885f4645014fc1fa98bb1090f13721c1a0796bc0021b9cb43bc8cc13920b6eaf057d1f5ed796e0a110e7813e41fe0196334ce7c80d1231fc057a9a3bdf349
Diffstat (limited to 'src/rpc/blockchain.h')
0 files changed, 0 insertions, 0 deletions