mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
Merge ac9fa6ec78 into merged_master (Bitcoin PR bitcoin/bitcoin#28385)
This commit is contained in:
commit
4537155dea
9 changed files with 317 additions and 127 deletions
|
|
@ -4,6 +4,7 @@
|
|||
//
|
||||
#include <chainparams.h>
|
||||
#include <consensus/validation.h>
|
||||
#include <kernel/disconnected_transactions.h>
|
||||
#include <node/kernel_notifications.h>
|
||||
#include <node/utxo_snapshot.h>
|
||||
#include <random.h>
|
||||
|
|
@ -539,7 +540,7 @@ BOOST_FIXTURE_TEST_CASE(chainstatemanager_snapshot_init, SnapshotTestSetup)
|
|||
// it will initialize instead of attempting to complete validation.
|
||||
//
|
||||
// Note that this is not a realistic use of DisconnectTip().
|
||||
DisconnectedBlockTransactions unused_pool;
|
||||
DisconnectedBlockTransactions unused_pool{MAX_DISCONNECTED_TX_POOL_SIZE * 1000};
|
||||
BlockValidationState unused_state;
|
||||
{
|
||||
LOCK2(::cs_main, bg_chainstate.MempoolMutex());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue