forked from lthn/blockchain
extended plain wallet api for interruptin sync thread
This commit is contained in:
parent
c2ca2c8177
commit
5a0dc75aab
1 changed files with 6 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue