1
0
Fork 0
forked from lthn/blockchain

extended plain wallet api for interruptin sync thread-2

This commit is contained in:
cryptozoidberg 2020-02-01 23:49:59 +01:00
parent 5a0dc75aab
commit 6805e9abed
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC
2 changed files with 2 additions and 0 deletions

View file

@ -141,6 +141,7 @@ namespace plain_wallet
GET_INSTANCE(pimpl, h);
return pimpl->cancel_sync_thread();
}
std::string sync(hwallet h)
{
GET_INSTANCE(pimpl, h);

View file

@ -21,6 +21,7 @@ namespace plain_wallet
std::string start_sync_thread(hwallet h);
std::string get_sync_status(hwallet h);
std::string cancel_sync_thread(hwallet h);
std::string sync(hwallet h);
std::string invoke(hwallet h, const std::string& params);
}