![]() |
Bitcoin Core 31.1.0
P2P Digital Currency
|
#include <index/base.h>#include <chain.h>#include <common/args.h>#include <dbwrapper.h>#include <interfaces/chain.h>#include <interfaces/types.h>#include <kernel/types.h>#include <node/abort.h>#include <node/blockstorage.h>#include <node/context.h>#include <node/database_args.h>#include <node/interface_ui.h>#include <primitives/block.h>#include <sync.h>#include <tinyformat.h>#include <uint256.h>#include <undo.h>#include <util/fs.h>#include <util/log.h>#include <util/string.h>#include <util/thread.h>#include <util/threadinterrupt.h>#include <util/time.h>#include <util/translation.h>#include <validation.h>#include <validationinterface.h>#include <cassert>#include <compare>#include <cstdint>#include <memory>#include <optional>#include <span>#include <stdexcept>#include <string>#include <thread>#include <utility>#include <vector>Go to the source code of this file.
Functions | |
| CBlockLocator | GetLocator (interfaces::Chain &chain, const uint256 &block_hash) |
| static const CBlockIndex * | NextSyncBlock (const CBlockIndex *pindex_prev, CChain &chain) EXCLUSIVE_LOCKS_REQUIRED(cs_main) |
Variables | |
| constexpr uint8_t | DB_BEST_BLOCK {'B'} |
| constexpr auto | SYNC_LOG_INTERVAL {30s} |
| constexpr auto | SYNC_LOCATOR_WRITE_INTERVAL {30s} |
| CBlockLocator GetLocator | ( | interfaces::Chain & | chain, |
| const uint256 & | block_hash ) |
|
static |