Bitcoin Core 28.99.0
P2P Digital Currency
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
8class BaseIndex;
9namespace util {
10class SignalInterrupt;
11} // namespace util
12
14void IndexWaitSynced(const BaseIndex& index, const util::SignalInterrupt& interrupt);
15
16#endif // BITCOIN_TEST_UTIL_INDEX_H
Base class for indices of blockchain data.
Definition: base.h:43
Helper class that manages an interrupt flag, and allows a thread or signal to interrupt another threa...
void IndexWaitSynced(const BaseIndex &index, const util::SignalInterrupt &interrupt)
Block until the index is synced to the current chain.
Definition: index.cpp:12