index.h raw

   1  // Copyright (c) 2020-2022 The Limenka 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 LIMENKA_TEST_UTIL_INDEX_H
   6  #define LIMENKA_TEST_UTIL_INDEX_H
   7  
   8  class BaseIndex;
   9  namespace util {
  10  class SignalInterrupt;
  11  } // namespace util
  12  
  13  /** Block until the index is synced to the current chain */
  14  void IndexWaitSynced(const BaseIndex& index, const util::SignalInterrupt& interrupt);
  15  
  16  #endif // LIMENKA_TEST_UTIL_INDEX_H
  17