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