diff --git a/src/wallet/monero_wallet_core.cpp b/src/wallet/monero_wallet_core.cpp index eb81243..a1615dc 100644 --- a/src/wallet/monero_wallet_core.cpp +++ b/src/wallet/monero_wallet_core.cpp @@ -1325,8 +1325,6 @@ namespace monero { return get_subaddresses_aux(account_idx, subaddress_indices, transfers); } - // get_subaddresses - monero_subaddress monero_wallet_core::create_subaddress(const uint32_t account_idx, const string& label) { MTRACE("create_subaddress(" << account_idx << ", " << label << ")"); diff --git a/src/wallet/monero_wallet_core.h b/src/wallet/monero_wallet_core.h index 10a9981..192f6fa 100644 --- a/src/wallet/monero_wallet_core.h +++ b/src/wallet/monero_wallet_core.h @@ -108,7 +108,7 @@ namespace monero { * @param daemon_connection is connection information to a daemon (default = an unconnected wallet) * @param language is the wallet and mnemonic's language (default = "English") */ - static monero_wallet_core* create_wallet_random(const string& path, const string& password, const monero_network_type network_type, const monero_rpc_connection& daemon_connection = monero_rpc_connection, const string& language = "English"); + static monero_wallet_core* create_wallet_random(const string& path, const string& password, const monero_network_type network_type, const monero_rpc_connection& daemon_connection, const string& language = "English"); /** * Create a wallet from an existing mnemonic phrase. @@ -195,7 +195,6 @@ namespace monero { monero_account get_account(const uint32_t account_idx, bool include_subaddresses) const; monero_account create_account(const string& label = ""); vector get_subaddresses(const uint32_t account_idx, const vector& subaddress_indices) const; - monero_subaddress get_subaddress(const uint32_t account_idx, const uint32_t subaddress_idx) const; monero_subaddress create_subaddress(uint32_t account_idx, const string& label = ""); vector> get_txs() const; vector> get_txs(const monero_tx_query& query) const; diff --git a/src/wallet/monero_wallet_keys.cpp b/src/wallet/monero_wallet_keys.cpp index 3cd01e6..14321ce 100644 --- a/src/wallet/monero_wallet_keys.cpp +++ b/src/wallet/monero_wallet_keys.cpp @@ -258,6 +258,16 @@ namespace monero { return subaddresses; } + string monero_wallet_keys::sign(const string& msg) const { + cout << "monero_wallet_keys::sign()" << endl; + throw runtime_error("monero_wallet_keys::sign() not implemented"); + } + + bool monero_wallet_keys::verify(const string& msg, const string& address, const string& signature) const { + cout << "monero_wallet_keys::verify()" << endl; + throw runtime_error("monero_wallet_keys::verify() not implemented"); + } + void monero_wallet_keys::close(bool save) { if (save) throw runtime_error("MoneroWalletKeys does not support saving"); // no pointers to destroy diff --git a/src/wallet/monero_wallet_keys.h b/src/wallet/monero_wallet_keys.h index c563b1b..b8eb8bc 100644 --- a/src/wallet/monero_wallet_keys.h +++ b/src/wallet/monero_wallet_keys.h @@ -120,7 +120,6 @@ namespace monero { monero_integrated_address decode_integrated_address(const string& integrated_address) const; monero_account get_account(const uint32_t account_idx, bool include_subaddresses) const; vector get_subaddresses(const uint32_t account_idx, const vector& subaddress_indices) const; - monero_subaddress get_subaddress(const uint32_t account_idx, const uint32_t subaddress_idx) const; string sign(const string& msg) const; bool verify(const string& msg, const string& address, const string& signature) const; void close(bool save = false);