mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-11-27 10:43:58 +01:00
wallet constructor signatures compiling
This commit is contained in:
@@ -1,13 +1,39 @@
|
||||
using namespace std;
|
||||
|
||||
MoneroWallet::MoneroWallet() {
|
||||
cout << "constructing" << endl;
|
||||
cout << "MoneroWallet()" << endl;
|
||||
}
|
||||
|
||||
MoneroWallet::MoneroWallet(network_type networkType, const string& daemonConnection, const string& language) {
|
||||
wallet2 = new tools::wallet2(networkType, 1, true);
|
||||
MoneroWallet::setDaemonConnection(daemonConnection, nullptr, nullptr);
|
||||
wallet2->set_seed_language(language);
|
||||
crypto::secret_key recovery_val, secret_key;
|
||||
wallet2->generate(string(""), string(""), secret_key, false, false);
|
||||
cout << "MoneroWallet(3)" << endl;
|
||||
}
|
||||
|
||||
MoneroWallet::MoneroWallet(const string& mnemonic, network_type networkType, const string& daemonConnection, uint64_t restoreHeight) {
|
||||
cout << "MoneroWallet(4)" << endl;
|
||||
}
|
||||
|
||||
MoneroWallet::MoneroWallet(const string& address, const string& viewKey, const string& spendKey, network_type networkType, const string& daemonConnection, uint64_t restoreHeight, const string& language) {
|
||||
cout << "MoneroWallet(7)" << endl;
|
||||
}
|
||||
|
||||
MoneroWallet::MoneroWallet(const string& path, const epee::wipeable_string& password, network_type networkType) {
|
||||
wallet2 = new tools::wallet2(networkType, 1, true);
|
||||
wallet2->load(path, password);
|
||||
}
|
||||
|
||||
MoneroWallet::~MoneroWallet() {
|
||||
cout << "deconstructing" << endl;
|
||||
cout << "~MoneroWallet()" << endl;
|
||||
}
|
||||
|
||||
void MoneroWallet::getMnemonic(epee::wipeable_string& mnemonic) const {
|
||||
throw runtime_error("Not implemented");
|
||||
}
|
||||
|
||||
void MoneroWallet::setDaemonConnection(const string& daemonUri, const string& daemonUsername, const const epee::wipeable_string& daemonPassword) {
|
||||
throw runtime_error("Not implemented");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user