diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-04-21 00:11:11 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-04-21 00:11:11 +0100 |
commit | 4b1c0d69f4abe5c25303f2f0d07bcf6a7daf2ff9 (patch) | |
tree | 7e691573b3218c1773b440036afb834ce69743b1 /src/simplewallet/simplewallet.h | |
parent | Merge pull request #803 (diff) | |
download | monero-4b1c0d69f4abe5c25303f2f0d07bcf6a7daf2ff9.tar.xz |
simplewallet: some background refresh threading fixes
We want to lock operations which access the blockchain in
wallet2. We also want the background refresh to happen again
when we cancel a foreground refresh. Wrap the locking setup
in a macro so it doesn't get copy/pasted/mangled, and use
a scope exit trick to ensure it's always properly restored.
Diffstat (limited to 'src/simplewallet/simplewallet.h')
-rw-r--r-- | src/simplewallet/simplewallet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/simplewallet/simplewallet.h b/src/simplewallet/simplewallet.h index 21bbfa566..72ab4d29f 100644 --- a/src/simplewallet/simplewallet.h +++ b/src/simplewallet/simplewallet.h @@ -114,6 +114,7 @@ namespace cryptonote bool stop_mining(const std::vector<std::string> &args); bool save_bc(const std::vector<std::string>& args); bool refresh(const std::vector<std::string> &args); + bool show_balance_unlocked(); bool show_balance(const std::vector<std::string> &args = std::vector<std::string>()); bool show_incoming_transfers(const std::vector<std::string> &args); bool show_payments(const std::vector<std::string> &args); |