Add rescan to UI

This commit is contained in:
Aditya Kulkarni
2019-11-16 21:22:31 -08:00
parent 7a9552f5f1
commit d81fac8b08
9 changed files with 41 additions and 61 deletions

View File

@@ -84,6 +84,13 @@ void LiteInterface::saveWallet(const std::function<void(json)>& cb) {
conn->doRPCWithDefaultErrorHandling("save", "", cb);
}
void LiteInterface::clearWallet(const std::function<void(json)>& cb) {
if (conn == nullptr)
return;
conn->doRPCWithDefaultErrorHandling("clear", "", cb);
}
void LiteInterface::unlockWallet(QString password, const std::function<void(json)>& cb) {
if (conn == nullptr)
return;