mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
Merge #9283: A few more CTransactionRef optimizations
91335baRemove unused MakeTransactionRef overloads (Pieter Wuille)6713f0fMake FillBlock consume txn_available to avoid shared_ptr copies (Pieter Wuille)62607d7Convert COrphanTx to keep a CTransactionRef (Pieter Wuille)c44e4c4Make AcceptToMemoryPool take CTransactionRef (Pieter Wuille)
This commit is contained in:
@@ -23,7 +23,7 @@ ToMemPool(CMutableTransaction& tx)
|
||||
LOCK(cs_main);
|
||||
|
||||
CValidationState state;
|
||||
return AcceptToMemoryPool(mempool, state, tx, false, NULL, true, 0);
|
||||
return AcceptToMemoryPool(mempool, state, MakeTransactionRef(tx), false, NULL, true, 0);
|
||||
}
|
||||
|
||||
BOOST_FIXTURE_TEST_CASE(tx_mempool_block_doublespend, TestChain100Setup)
|
||||
|
||||
Reference in New Issue
Block a user