aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/mining.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/mining.h')
-rw-r--r--src/interfaces/mining.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interfaces/mining.h b/src/interfaces/mining.h
index 6e47333fd5..b96881f67c 100644
--- a/src/interfaces/mining.h
+++ b/src/interfaces/mining.h
@@ -30,6 +30,9 @@ public:
//! If this chain is exclusively used for testing
virtual bool isTestChain() = 0;
+ //! Returns whether IBD is still in progress.
+ virtual bool isInitialBlockDownload() = 0;
+
//! Returns the hash for the tip of this chain
virtual std::optional<uint256> getTipHash() = 0;