Bitcoin Core
22.99.0
P2P Digital Currency
src
test
util
validation.h
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
5
#ifndef BITCOIN_TEST_UTIL_VALIDATION_H
6
#define BITCOIN_TEST_UTIL_VALIDATION_H
7
8
#include <
validation.h
>
9
10
struct
TestChainState
:
public
CChainState
{
12
void
ResetIbd
();
14
void
JumpOutOfIbd
();
15
};
16
17
#endif // BITCOIN_TEST_UTIL_VALIDATION_H
TestChainState::ResetIbd
void ResetIbd()
Reset the ibd cache to its initial state.
Definition:
validation.cpp:11
validation.h
TestChainState
Definition:
validation.h:10
CChainState
CChainState stores and provides an API to update our local knowledge of the current best chain.
Definition:
validation.h:459
TestChainState::JumpOutOfIbd
void JumpOutOfIbd()
Toggle IsInitialBlockDownload from true to false.
Definition:
validation.cpp:17
Generated on Fri Feb 18 2022 20:03:16 for Bitcoin Core by
1.8.17