Skip to content

Instantly share code, notes, and snippets.

View vasild's full-sized avatar

Vasil Dimov vasild

View GitHub Profile
diff --git a/src/test/validation_block_tests.cpp b/src/test/validation_block_tests.cpp
index f2c862011..ebb9b3aca 100644
--- a/src/test/validation_block_tests.cpp
+++ b/src/test/validation_block_tests.cpp
@@ -211,12 +211,64 @@ BOOST_AUTO_TEST_CASE(processnewblock_signals_ordering)
UnregisterValidationInterface(&sub);
LOCK(cs_main);
BOOST_CHECK_EQUAL(sub.m_expected_tip, ::ChainActive().Tip()->GetBlockHash());
}
# This is the genesis block, it does not have an undo.
SaveBlockToDisk(): height=0
FindBlockPos(): height=0, belongs to blk00000[0..292]
FlatFileSeq::Allocate(): blk00000@[0..292]
FlatFileSeq::Allocate(): Pre-allocating up to position 600 in blk00000
SaveBlockToDisk(): height=1
FindBlockPos(): height=1, belongs to blk00000[293..571]
FlatFileSeq::Allocate(): blk00000@[293..571]
FindUndoPos(): height=1, belongs to: rev00000[0..40]