mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
rpc: call IsInitialBlockDownload via miner interface
This commit is contained in:
parent
dda0b0834f
commit
a9716c53f0
3 changed files with 9 additions and 1 deletions
|
|
@ -847,6 +847,11 @@ public:
|
|||
return chainman().GetParams().IsTestChain();
|
||||
}
|
||||
|
||||
bool isInitialBlockDownload() override
|
||||
{
|
||||
return chainman().IsInitialBlockDownload();
|
||||
}
|
||||
|
||||
std::optional<uint256> getTipHash() override
|
||||
{
|
||||
LOCK(::cs_main);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue