mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-12 12:52:35 -03:00
scripted-diff: Revert "fuzz: Add Temporary debug assert for oss-fuzz issue"
-BEGIN VERIFY SCRIPT-
git show faf1af58f8
| git apply --reverse
-END VERIFY SCRIPT-
This commit is contained in:
parent
7e1ba37b5d
commit
facd56750c
1 changed files with 0 additions and 12 deletions
|
@ -58,19 +58,7 @@ void initialize_process_message()
|
|||
|
||||
static const auto testing_setup = MakeNoLogFileContext<const TestingSetup>();
|
||||
g_setup = testing_setup.get();
|
||||
|
||||
// Temporary debug for https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35027
|
||||
{
|
||||
LOCK(::cs_main);
|
||||
assert(CheckDiskSpace(gArgs.GetDataDirNet()));
|
||||
assert(CheckDiskSpace(gArgs.GetDataDirNet(), 48 * 2 * 2 * g_setup->m_node.chainman->ActiveChainstate().CoinsTip().GetCacheSize()));
|
||||
}
|
||||
for (int i = 0; i < 2 * COINBASE_MATURITY; i++) {
|
||||
{
|
||||
LOCK(::cs_main);
|
||||
assert(CheckDiskSpace(gArgs.GetDataDirNet()));
|
||||
assert(CheckDiskSpace(gArgs.GetDataDirNet(), 48 * 2 * 2 * g_setup->m_node.chainman->ActiveChainstate().CoinsTip().GetCacheSize()));
|
||||
}
|
||||
MineBlock(g_setup->m_node, CScript() << OP_TRUE);
|
||||
}
|
||||
SyncWithValidationInterfaceQueue();
|
||||
|
|
Loading…
Reference in a new issue