1
0
Fork 0
forked from lthn/blockchain

extended plain wallet api for interruptin sync thread

This commit is contained in:
cryptozoidberg 2020-02-01 23:47:37 +01:00
parent c2ca2c8177
commit 5a0dc75aab
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

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