Perform a blockchain sync check before updating initial difficulty ad… (#677)

* Perform a blockchain sync check before updating initial difficulty adjustment.

fixes #603

* Updating logger messages.
This commit is contained in:
softsimon
2021-08-01 15:49:26 +03:00
committed by GitHub
parent a0559cbb24
commit 4895343d4e
3 changed files with 61 additions and 8 deletions

View File

@@ -40,6 +40,10 @@ class BitcoinBaseApi {
}
return this.bitcoindClient.getMempoolInfo();
}
$getBlockchainInfo(): Promise<IBitcoinApi.BlockchainInfo> {
return this.bitcoindClient.getBlockchainInfo();
}
}
export default new BitcoinBaseApi();