aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-09-26 17:34:06 +0200
committerRiccardo Spagni <ric@spagni.net>2016-09-26 17:34:06 +0200
commitcf74a137f3528482396a9d260660c287994730f1 (patch)
tree628c17086a0d676fbfbad01dd4e8e58166218e99 /src/wallet/api/wallet.h
parentMerge pull request #1113 (diff)
parentlibwallet_api: simple documentation on testing environment (diff)
downloadmonero-cf74a137f3528482396a9d260660c287994730f1.tar.xz
Merge pull request #1116
2e18e10 libwallet_api: simple documentation on testing environment (Ilya Kitaev) 69c9824 libwallet_api: tests: env variables for WALLETS_ROOT_DIR and TESTNET_DAEMON_ADDRESS (Ilya Kitaev) 1f8a70c libwallet_api: tests: changed testwallets path, uncommitted all tests (Ilya Kitaev) d5d0856 wallet2_api: getter and setter for "refresh interval" (Ilya Kitaev) cdb6c96 wallet2_api: fixed deadlock while closing wallet (Ilya Kitaev)
Diffstat (limited to 'src/wallet/api/wallet.h')
-rw-r--r--src/wallet/api/wallet.h5
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);