![]() |
Bitcoin Core 31.1.0
P2P Digital Currency
|
#include <chain.h>#include <chainparams.h>#include <clientversion.h>#include <node/blockstorage.h>#include <node/context.h>#include <node/kernel_notifications.h>#include <script/solver.h>#include <primitives/block.h>#include <util/chaintype.h>#include <validation.h>#include <boost/test/unit_test.hpp>#include <test/util/common.h>#include <test/util/logging.h>#include <test/util/setup_common.h>Go to the source code of this file.
Classes | |
| class | CBlockFileInfo |
Functions | |
| BOOST_AUTO_TEST_CASE (blockmanager_find_block_pos) | |
| BOOST_FIXTURE_TEST_CASE (blockmanager_scan_unlink_already_pruned_files, TestChain100Setup) | |
| BOOST_FIXTURE_TEST_CASE (blockmanager_block_data_availability, TestChain100Setup) | |
| BOOST_FIXTURE_TEST_CASE (blockmanager_block_data_part, TestChain100Setup) | |
| BOOST_FIXTURE_TEST_CASE (blockmanager_block_data_part_error, TestChain100Setup) | |
| BOOST_FIXTURE_TEST_CASE (blockmanager_readblock_hash_mismatch, TestingSetup) | |
| BOOST_AUTO_TEST_CASE (blockmanager_flush_block_file) | |
Variables | |
| static constexpr uint32_t | STORAGE_HEADER_BYTES |
| Size of header written by WriteBlock before a serialized CBlock (8 bytes). | |
| static const unsigned int | MAX_BLOCKFILE_SIZE |
| The maximum size of a blk? | |
| BOOST_AUTO_TEST_CASE | ( | blockmanager_find_block_pos | ) |
| BOOST_AUTO_TEST_CASE | ( | blockmanager_flush_block_file | ) |
| BOOST_FIXTURE_TEST_CASE | ( | blockmanager_block_data_availability | , |
| TestChain100Setup | ) |
Definition at line 103 of file blockmanager_tests.cpp.
| BOOST_FIXTURE_TEST_CASE | ( | blockmanager_block_data_part | , |
| TestChain100Setup | ) |
| BOOST_FIXTURE_TEST_CASE | ( | blockmanager_block_data_part_error | , |
| TestChain100Setup | ) |
| BOOST_FIXTURE_TEST_CASE | ( | blockmanager_readblock_hash_mismatch | , |
| TestingSetup | ) |
Definition at line 218 of file blockmanager_tests.cpp.
| BOOST_FIXTURE_TEST_CASE | ( | blockmanager_scan_unlink_already_pruned_files | , |
| TestChain100Setup | ) |
|
static |
|
staticconstexpr |
Size of header written by WriteBlock before a serialized CBlock (8 bytes).
Definition at line 126 of file blockstorage.h.