diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-10-09 14:34:59 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-10-09 14:34:59 +0200 |
commit | 0673db16ad7a8b91c0216d41a1363262f7000bb4 (patch) | |
tree | 29cbe76d2a481b7023bff133473e597eb70a6551 /src/wallet/wallet2_api.h | |
parent | Merge pull request #1194 (diff) | |
parent | libwallet_api: reverted deleted curly brace (diff) | |
download | monero-0673db16ad7a8b91c0216d41a1363262f7000bb4.tar.xz |
Merge pull request #1195
697ce1d libwallet_api: reverted deleted curly brace (Ilya Kitaev)
bb9094f libwallet_api: fixes for transaction history (Ilya Kitaev)
62b3708 libwallet_api: do not signal on sent/received tx until wallet completely synchronized (Ilya Kitaev)
11fab41 libwallet_api: TransactionHistory: read/write syncchronization (Ilya Kitaev)
559f379 libwallet_api: test: adjusted mixin_count=4 as it's minumum allowed (Ilya Kitaev)
8b0cb8c libwallet_api: some renamings (Ilya Kitaev)
db3282c Initialize transaction history if empty (Ilya Kitaev)
85f5e73 libwallet_api: fixes for transaction history (Ilya Kitaev)
Diffstat (limited to 'src/wallet/wallet2_api.h')
-rw-r--r-- | src/wallet/wallet2_api.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wallet/wallet2_api.h b/src/wallet/wallet2_api.h index 40bb34f6f..742a904ea 100644 --- a/src/wallet/wallet2_api.h +++ b/src/wallet/wallet2_api.h @@ -262,6 +262,12 @@ struct Wallet */ virtual uint64_t daemonBlockChainTargetHeight() const = 0; + /** + * @brief synchronized - checks if wallet was ever synchronized + * @return + */ + virtual bool synchronized() const = 0; + static std::string displayAmount(uint64_t amount); static uint64_t amountFromString(const std::string &amount); static uint64_t amountFromDouble(double amount); |