Bitcoin Core 22.99.0
P2P Digital Currency
validation.cpp
Go to the documentation of this file.
1// Copyright (c) 2020 The Bitcoin Core developers
2// Distributed under the MIT software license, see the accompanying
3// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
6
7#include <util/check.h>
8#include <util/time.h>
9#include <validation.h>
10
12{
15}
16
18{
22}
#define Assert(val)
Identity function.
Definition: check.h:57
std::atomic< bool > m_cached_finished_ibd
Whether this chainstate is undergoing initial block download.
Definition: validation.h:569
void UnloadBlockIndex() EXCLUSIVE_LOCKS_REQUIRED(bool IsInitialBlockDownload() const
Check whether we are doing an initial block download (synchronizing from disk or network)
void ResetIbd()
Reset the ibd cache to its initial state.
Definition: validation.cpp:11
void JumpOutOfIbd()
Toggle IsInitialBlockDownload from true to false.
Definition: validation.cpp:17
assert(!tx.IsCoinBase())