Bitcoin Core
29.1.0
P2P Digital Currency
src
test
util
index.h
Go to the documentation of this file.
1
// Copyright (c) 2020-2022 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_INDEX_H
6
#define BITCOIN_TEST_UTIL_INDEX_H
7
8
class
BaseIndex
;
9
namespace
util
{
10
class
SignalInterrupt;
11
}
// namespace util
12
14
void
IndexWaitSynced
(
const
BaseIndex
& index,
const
util::SignalInterrupt
& interrupt);
15
16
#endif // BITCOIN_TEST_UTIL_INDEX_H
util
Definition:
httpserver.h:13
IndexWaitSynced
void IndexWaitSynced(const BaseIndex &index, const util::SignalInterrupt &interrupt)
Block until the index is synced to the current chain.
Definition:
index.cpp:12
BaseIndex
Base class for indices of blockchain data.
Definition:
base.h:42
util::SignalInterrupt
Helper class that manages an interrupt flag, and allows a thread or signal to interrupt another threa...
Definition:
signalinterrupt.h:28
Generated on Wed Sep 3 2025 12:00:00 for Bitcoin Core by
1.8.14