From afcf2329601a7f5d68f5a3f7dd73d04b7fa0f2d3 Mon Sep 17 00:00:00 2001 From: woodser Date: Wed, 4 Dec 2019 16:09:59 -0500 Subject: [PATCH] add couts to unimplemented methods --- src/wallet/monero_wallet_keys.cpp | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/src/wallet/monero_wallet_keys.cpp b/src/wallet/monero_wallet_keys.cpp index b8f4d04..1f9c58c 100644 --- a/src/wallet/monero_wallet_keys.cpp +++ b/src/wallet/monero_wallet_keys.cpp @@ -127,77 +127,90 @@ namespace monero { } monero_network_type monero_wallet_keys::get_network_type() const { + cout << "monero_wallet_keys::get_network_type()" << endl; throw runtime_error("monero_wallet_keys::get_network_type() not implemented"); } string monero_wallet_keys::get_language() const { - throw runtime_error("monero_wallet_keys::get_subaddresses() not implemented"); + return m_language; } vector monero_wallet_keys::get_languages() const { + cout << "monero_wallet_keys::get_languages()" << endl; throw runtime_error("monero_wallet_keys::get_languages() not implemented"); } string monero_wallet_keys::get_mnemonic() const { - throw runtime_error("monero_wallet_keys::get_mnemonic() not implemented"); + return m_mnemonic; } string monero_wallet_keys::get_public_view_key() const { - throw runtime_error("monero_wallet_keys::get_public_view_key() not implemented"); + return m_pub_view_key; } string monero_wallet_keys::get_private_view_key() const { - throw runtime_error("monero_wallet_keys::get_private_view_key() not implemented"); + return m_prv_view_key; } string monero_wallet_keys::get_public_spend_key() const { - throw runtime_error("monero_wallet_keys::get_public_spend_key() not implemented"); + return m_pub_spend_key; } string monero_wallet_keys::get_private_spend_key() const { - throw runtime_error("monero_wallet_keys::get_private_spend_key() not implemented"); + return m_prv_spend_key; } string monero_wallet_keys::get_address(uint32_t account_idx, uint32_t subaddress_idx) const { + cout << "monero_wallet_keys::get_address()" << endl; throw runtime_error("monero_wallet_keys::get_address() not implemented"); } monero_subaddress monero_wallet_keys::get_address_index(const string& address) const { + cout << "monero_wallet_keys::get_address_index()" << endl; throw runtime_error("monero_wallet_keys::get_address_index() not implemented"); } monero_integrated_address monero_wallet_keys::get_integrated_address(const string& standard_address, const string& payment_id) const { + cout << "monero_wallet_keys::get_integrated_address()" << endl; throw runtime_error("monero_wallet_keys::get_integrated_address() not implemented"); } monero_integrated_address monero_wallet_keys::decode_integrated_address(const string& integrated_address) const { + cout << "monero_wallet_keys::decode_integrated_address()" << endl; throw runtime_error("monero_wallet_keys::decode_integrated_address() not implemented"); } vector monero_wallet_keys::get_accounts(bool include_subaddresses, const string& tag) const { + cout << "monero_wallet_keys::get_accounts()" << endl; throw runtime_error("monero_wallet_keys::get_accounts() not implemented"); } monero_account monero_wallet_keys::get_account(uint32_t account_idx, bool include_subaddresses) const { + cout << "monero_wallet_keys::get_account()" << endl; throw runtime_error("monero_wallet_keys::get_subaddresses() not implemented"); } monero_account monero_wallet_keys::create_account(const string& label) { + cout << "monero_wallet_keys::create_account()" << endl; throw runtime_error("monero_wallet_keys::get_account() not implemented"); } vector monero_wallet_keys::get_subaddresses(const uint32_t account_idx, const vector& subaddress_indices) const { + cout << "monero_wallet_keys::get_subaddresses()" << endl; throw runtime_error("monero_wallet_keys::get_subaddresses() not implemented"); } monero_subaddress monero_wallet_keys::get_subaddress(const uint32_t account_idx, const uint32_t subaddress_idx) const { + cout << "monero_wallet_keys::get_subaddress()" << endl; throw runtime_error("monero_wallet_keys::get_subaddress() not implemented"); } monero_subaddress monero_wallet_keys::create_subaddress(const uint32_t account_idx, const string& label) { + cout << "monero_wallet_keys::create_subaddress()" << endl; throw runtime_error("monero_wallet_keys::create_subaddress() not implemented"); } void monero_wallet_keys::close() { + cout << "monero_wallet_keys::close()" << endl; throw runtime_error("monero_wallet_keys::close() not implemented"); }