File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,19 @@ void initialize_process_message()
58
58
59
59
static const auto testing_setup = MakeNoLogFileContext<const TestingSetup>();
60
60
g_setup = testing_setup.get ();
61
+
62
+ // Temporary debug for https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35027
63
+ {
64
+ LOCK (::cs_main);
65
+ assert (CheckDiskSpace (gArgs .GetDataDirNet ()));
66
+ assert (CheckDiskSpace (gArgs .GetDataDirNet (), 48 * 2 * 2 * g_setup->m_node .chainman ->ActiveChainstate ().CoinsTip ().GetCacheSize ()));
67
+ }
61
68
for (int i = 0 ; i < 2 * COINBASE_MATURITY; i++) {
69
+ {
70
+ LOCK (::cs_main);
71
+ assert (CheckDiskSpace (gArgs .GetDataDirNet ()));
72
+ assert (CheckDiskSpace (gArgs .GetDataDirNet (), 48 * 2 * 2 * g_setup->m_node .chainman ->ActiveChainstate ().CoinsTip ().GetCacheSize ()));
73
+ }
62
74
MineBlock (g_setup->m_node , CScript () << OP_TRUE);
63
75
}
64
76
SyncWithValidationInterfaceQueue ();
You can’t perform that action at this time.
0 commit comments