aboutsummaryrefslogtreecommitdiff
path: root/src/test/util/index.h
diff options
context:
space:
mode:
authorRyan Ofsky <ryan@ofsky.org>2023-07-07 17:32:54 -0400
committerRyan Ofsky <ryan@ofsky.org>2023-12-04 15:39:15 -0400
commitba93966368d3aaa426b97837ef475ec5aa612f5f (patch)
tree8d7c4795860a7b2cff07c8b318ead1be8e1b79cd /src/test/util/index.h
parent42e5829d9710ebebda5de356fab01dd7c149d5fa (diff)
downloadbitcoin-ba93966368d3aaa426b97837ef475ec5aa612f5f.tar.xz
refactor: Remove call to ShutdownRequested from IndexWaitSynced
Use the node interrupt object instead. There is no change in behavior in this commit.
Diffstat (limited to 'src/test/util/index.h')
-rw-r--r--src/test/util/index.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/util/index.h b/src/test/util/index.h
index 95309f6273..a3bd1dddc3 100644
--- a/src/test/util/index.h
+++ b/src/test/util/index.h
@@ -6,8 +6,11 @@
#define BITCOIN_TEST_UTIL_INDEX_H
class BaseIndex;
+namespace util {
+class SignalInterrupt;
+} // namespace util
/** Block until the index is synced to the current chain */
-void IndexWaitSynced(const BaseIndex& index);
+void IndexWaitSynced(const BaseIndex& index, const util::SignalInterrupt& interrupt);
#endif // BITCOIN_TEST_UTIL_INDEX_H