diff options
author | Ilya Kitaev <mbg033@gmail.com> | 2016-09-20 20:40:58 +0300 |
---|---|---|
committer | Ilya Kitaev <mbg033@gmail.com> | 2016-09-20 20:40:58 +0300 |
commit | d5d0856ce608b8411e45691c8f4e6125d835e430 (patch) | |
tree | 9531f5c3ace9de0333cc8b9b152d46c1ef24f128 /src/wallet/api/wallet.h | |
parent | wallet2_api: fixed deadlock while closing wallet (diff) | |
download | monero-d5d0856ce608b8411e45691c8f4e6125d835e430.tar.xz |
wallet2_api: getter and setter for "refresh interval"
Diffstat (limited to 'src/wallet/api/wallet.h')
-rw-r--r-- | src/wallet/api/wallet.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.h b/src/wallet/api/wallet.h index 658296c30..11880d555 100644 --- a/src/wallet/api/wallet.h +++ b/src/wallet/api/wallet.h @@ -77,6 +77,11 @@ public: uint64_t unlockedBalance() const; bool refresh(); void refreshAsync(); + void setAutoRefreshInterval(int seconds); + int autoRefreshInterval() const; + + + PendingTransaction * createTransaction(const std::string &dst_addr, const std::string &payment_id, uint64_t amount, uint32_t mixin_count, PendingTransaction::Priority priority = PendingTransaction::Priority_Low); |