This commit is contained in:
woodser
2019-07-06 16:21:24 -04:00
parent 28b413686f
commit c7af9074d2
3 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ namespace monero {
*/
struct MoneroRpcConnection {
string uri;
string username;
string username; // todo: these should be optional
string password;
//MoneroRpcConnection() : uri(""), username(""), password("")) {}
MoneroRpcConnection(const string& uri = "", const string& username = "", const string& password = "") : uri(uri), username(username), password(password) {}
+1
View File
@@ -867,6 +867,7 @@ namespace monero {
}
shared_ptr<MoneroRpcConnection> MoneroWallet::getDaemonConnection() const {
cout << "MoneroWallet::getDaemonConnection()" << endl;
if (wallet2->get_daemon_address().empty()) return nullptr;
shared_ptr<MoneroRpcConnection> connection = shared_ptr<MoneroRpcConnection>(new MoneroRpcConnection());
if (!wallet2->get_daemon_address().empty()) connection->uri = wallet2->get_daemon_address();
-3
View File
@@ -7,9 +7,6 @@ comb code todos
MEDIUM PRIORITY
onSyncProgress(startHeight, currentHeight, endHeight, percentDone, message)?
remove warning jstring2string
rename external-libs/monero to monero-core for clarity
cppWalletHandle, cppListenerHandle string constants in MoneroWalletJni.cpp
toPropertyTree() should take node as parameter; optimize memory elsewhere (move shared_ptrs, etc)
enable debug logging
model accessors/mutators/chaining?