rpc: call IsInitialBlockDownload via miner interface

This commit is contained in:
Sjors Provoost committed 2024-06-18 21:07:51 +02:00
1 parent dda0b0834f
commit a9716c53f0
3 files changed
+9 -1

No files matched your search

+3
View File
@@ -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;