mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-11-19 06:34:29 +01:00
scratchpad block commented;
defined getDaemonConnection()
This commit is contained in:
@@ -58,6 +58,10 @@ void MoneroWallet::setDaemonConnection(const string& uri, const string& username
|
||||
wallet2->set_daemon(uri, login, isTrusted);
|
||||
}
|
||||
|
||||
MoneroRpcConnection MoneroWallet::getDaemonConnection() {
|
||||
throw runtime_error("ready to implement getDaemonConnection()");
|
||||
}
|
||||
|
||||
MoneroNetworkType MoneroWallet::getNetworkType() {
|
||||
return static_cast<MoneroNetworkType>(wallet2->nettype());
|
||||
}
|
||||
|
||||
@@ -73,20 +73,20 @@ using namespace crypto;
|
||||
*/
|
||||
~MoneroWallet();
|
||||
|
||||
// ------------ WALLET METHODS SPECIFIC TO JNI IMPLEMENTATION ---------------
|
||||
|
||||
/**
|
||||
* Set the wallet's daemon connection.
|
||||
*
|
||||
* TODO: switch to MoneroNetworkType
|
||||
*
|
||||
* @param uri is the daemon's URI
|
||||
* @param username is the daemon's username
|
||||
* @param password is the daemon's password
|
||||
*/
|
||||
void setDaemonConnection(const string& uri, const string& username, const epee::wipeable_string& password);
|
||||
|
||||
MoneroNetworkType getNetworkType();
|
||||
MoneroRpcConnection getDaemonConnection();
|
||||
|
||||
// -------------------------- COMMON WALLET METHODS -------------------------
|
||||
MoneroNetworkType getNetworkType();
|
||||
|
||||
// /**
|
||||
// * Get the wallet's seed.
|
||||
|
||||
Reference in New Issue
Block a user