add taddr supply,zaddr supply and total supply

This commit is contained in:
Denio
2019-12-05 23:20:25 +01:00
parent f6bbfc0ed8
commit 47292f768d
4 changed files with 292 additions and 201 deletions

View File

@@ -137,6 +137,13 @@ void LiteInterface::fetchInfo(const std::function<void(json)>& cb,
conn->doRPC("info", "", cb, err);
}
void LiteInterface::fetchSupply(const std::function<void(json)>& cb) {
if (conn == nullptr)
return;
conn->doRPCWithDefaultErrorHandling("coinsupply", "", cb);
}
void LiteInterface::fetchLatestBlock(const std::function<void(json)>& cb,
const std::function<void(QString)>& err) {