aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2_api.h
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-03-31 15:39:28 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-03-31 15:39:28 +0300
commit1ae9cdc6bf7cc8798a95595c5c2cd076cd411c64 (patch)
treef00504139873e3e32f6591de340866b043d43c16 /src/wallet/wallet2_api.h
parenttestnet option, Wallet::balance(), Wallet::unlockedBalance() (diff)
downloadmonero-1ae9cdc6bf7cc8798a95595c5c2cd076cd411c64.tar.xz
"testnet" is default parameter
Diffstat (limited to 'src/wallet/wallet2_api.h')
-rw-r--r--src/wallet/wallet2_api.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wallet/wallet2_api.h b/src/wallet/wallet2_api.h
index ec37358d4..a56043e9e 100644
--- a/src/wallet/wallet2_api.h
+++ b/src/wallet/wallet2_api.h
@@ -71,6 +71,7 @@ struct Wallet
virtual bool connectToDaemon() = 0;
virtual uint64_t balance() const = 0;
virtual uint64_t unlockedBalance() const = 0;
+ virtual std::string displayAmount(uint64_t amount) const = 0;
// TODO?
// virtual uint64_t unlockedDustBalance() const = 0;
};
@@ -119,8 +120,6 @@ struct WalletManager
virtual std::string errorString() const = 0;
// //! set
// virtual void setDaemonAddress(const std::string &address) = 0;
-
-
};