aboutsummaryrefslogtreecommitdiff
path: root/src/test/util/index.h
blob: 95309f62736c7e0a738cadec4e55e79001df08d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (c) 2020-2022 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#ifndef BITCOIN_TEST_UTIL_INDEX_H
#define BITCOIN_TEST_UTIL_INDEX_H

class BaseIndex;

/** Block until the index is synced to the current chain */
void IndexWaitSynced(const BaseIndex& index);

#endif // BITCOIN_TEST_UTIL_INDEX_H