libwallet_api: do not signal on sent/received tx until wallet completely

synchronized
This commit is contained in:
Ilya Kitaev
2016-10-07 00:29:13 +03:00
parent 11fab41c36
commit 62b3708ea5
3 changed files with 31 additions and 6 deletions
+6
View File
@@ -255,6 +255,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);