mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-10-18 07:41:32 +02:00
cleanup
This commit is contained in:
@@ -1154,7 +1154,7 @@ namespace monero {
|
||||
return getAccounts(false, string(""));
|
||||
}
|
||||
|
||||
vector<MoneroAccount> MoneroWallet::getAccounts(const bool includeSubaddresses) const {
|
||||
vector<MoneroAccount> MoneroWallet::getAccounts(bool includeSubaddresses) const {
|
||||
MTRACE("getAccounts(" << includeSubaddresses << ")");
|
||||
throw runtime_error("Not implemented");
|
||||
}
|
||||
@@ -1164,7 +1164,7 @@ namespace monero {
|
||||
throw runtime_error("Not implemented");
|
||||
}
|
||||
|
||||
vector<MoneroAccount> MoneroWallet::getAccounts(const bool includeSubaddresses, const string& tag) const {
|
||||
vector<MoneroAccount> MoneroWallet::getAccounts(bool includeSubaddresses, const string& tag) const {
|
||||
MTRACE("getAccounts(" << includeSubaddresses << ", " << tag << ")");
|
||||
|
||||
// need transfers to inform if subaddresses used
|
||||
@@ -1190,7 +1190,7 @@ namespace monero {
|
||||
return getAccount(accountIdx, false);
|
||||
}
|
||||
|
||||
MoneroAccount MoneroWallet::getAccount(uint32_t accountIdx, const bool includeSubaddresses) const {
|
||||
MoneroAccount MoneroWallet::getAccount(uint32_t accountIdx, bool includeSubaddresses) const {
|
||||
MTRACE("getAccount(" << accountIdx << ", " << includeSubaddresses << ")");
|
||||
|
||||
// need transfers to inform if subaddresses used
|
||||
|
||||
@@ -220,9 +220,6 @@ namespace monero {
|
||||
*/
|
||||
void setDaemonConnection(const MoneroRpcConnection& connection);
|
||||
|
||||
/**
|
||||
* TODO
|
||||
*/
|
||||
shared_ptr<MoneroRpcConnection> getDaemonConnection() const;
|
||||
|
||||
bool getIsConnected() const;
|
||||
@@ -235,14 +232,8 @@ namespace monero {
|
||||
|
||||
bool getIsSynced() const;
|
||||
|
||||
/**
|
||||
* TODO
|
||||
*/
|
||||
string getPath() const;
|
||||
|
||||
/**
|
||||
* TODO
|
||||
*/
|
||||
MoneroNetworkType getNetworkType() const;
|
||||
|
||||
/**
|
||||
@@ -411,7 +402,7 @@ namespace monero {
|
||||
* @param accountIdx is the index of the account to get the balance of
|
||||
* @return the account's balance
|
||||
*/
|
||||
uint64_t getBalance(uint32_t accountIdx) const; // TODO: this param should be const and others
|
||||
uint64_t getBalance(uint32_t accountIdx) const;
|
||||
|
||||
/**
|
||||
* Get a subaddress's balance.
|
||||
@@ -459,7 +450,7 @@ namespace monero {
|
||||
* @param includeSubaddresses specifies if subaddresses should be included
|
||||
* @return List<MoneroAccount> are all accounts
|
||||
*/
|
||||
vector<MoneroAccount> getAccounts(const bool includeSubaddresses) const;
|
||||
vector<MoneroAccount> getAccounts(bool includeSubaddresses) const;
|
||||
|
||||
/**
|
||||
* Get accounts with a given tag.
|
||||
@@ -476,7 +467,7 @@ namespace monero {
|
||||
* @param tag is the tag for filtering accounts, all accounts if null
|
||||
* @return List<MoneroAccount> are all accounts for the wallet with the given tag
|
||||
*/
|
||||
vector<MoneroAccount> getAccounts(const bool includeSubaddresses, const string& tag) const;
|
||||
vector<MoneroAccount> getAccounts(bool includeSubaddresses, const string& tag) const;
|
||||
|
||||
/**
|
||||
* Get an account without subaddress information.
|
||||
@@ -493,7 +484,7 @@ namespace monero {
|
||||
* @param includeSubaddresses specifies if subaddresses should be included
|
||||
* @return the retrieved account
|
||||
*/
|
||||
MoneroAccount getAccount(const uint32_t accountIdx, const bool includeSubaddresses) const;
|
||||
MoneroAccount getAccount(const uint32_t accountIdx, bool includeSubaddresses) const;
|
||||
|
||||
/**
|
||||
* Create a new account with a label for the first subaddress.
|
||||
@@ -578,8 +569,6 @@ namespace monero {
|
||||
* Transactions must meet every criteria defined in the request in order to
|
||||
* be returned. All filtering is optional and no filtering is applied when
|
||||
* not defined.
|
||||
*
|
||||
* TODO: request should be const
|
||||
*
|
||||
* @param request filters query results (optional)
|
||||
* @return wallet transactions per the request
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
HIGH PRIORITY
|
||||
ensure model toPropertyTrees(), etc are not unecessarily copying return objects
|
||||
sign/submit tx
|
||||
cpp library readme with sample code
|
||||
code todos
|
||||
query args should be constant
|
||||
ensure model toPropertyTrees(), etc are not unecessarily copying return objects
|
||||
MoneroWallet.h documentation
|
||||
sample code including readme
|
||||
|
||||
sign/submit tx
|
||||
strong vs weak references
|
||||
getReserveProofAccount() jni seg fault
|
||||
cleanup MoneroWallet.h/MoneroDaemon.h documentation
|
||||
gen documentation
|
||||
|
||||
MEDIUM PRIORITY
|
||||
|
||||
Reference in New Issue
Block a user