mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-08 03:33:32 +01:00
rpc: call IsInitialBlockDownload via miner interface
This commit is contained in:
@@ -847,6 +847,11 @@ public:
|
||||
return chainman().GetParams().IsTestChain();
|
||||
}
|
||||
|
||||
bool isInitialBlockDownload() override
|
||||
{
|
||||
return chainman().IsInitialBlockDownload();
|
||||
}
|
||||
|
||||
std::optional<uint256> getTipHash() override
|
||||
{
|
||||
LOCK(::cs_main);
|
||||
|
||||
Reference in New Issue
Block a user