55 #include "monero_wallet.h"
56 #include "cryptonote_basic/account.h"
128 std::string
get_address(
const uint32_t account_idx,
const uint32_t subaddress_idx)
const override;
132 std::vector<monero_subaddress>
get_subaddresses(
const uint32_t account_idx,
const std::vector<uint32_t>& subaddress_indices)
const override;
133 std::string
sign_message(
const std::string& msg)
const override;
134 bool verify_message(
const std::string& msg,
const std::string& address,
const std::string& signature)
const override;
142 cryptonote::account_base m_account;
143 std::string m_mnemonic;
144 std::string m_language;
145 std::string m_pub_view_key;
146 std::string m_prv_view_key;
147 std::string m_pub_spend_key;
148 std::string m_prv_spend_key;
149 std::string m_primary_address;
std::string sign_message(const std::string &msg) const override
Definition: monero_wallet_keys.cpp:277
~monero_wallet_keys()
Definition: monero_wallet_keys.cpp:209
Definition: monero_daemon.cpp:58
std::string get_public_spend_key() const override
Definition: monero_wallet_keys.h:126
Definition: monero_wallet_model.h:96
std::string get_address(const uint32_t account_idx, const uint32_t subaddress_idx) const override
Definition: monero_wallet_keys.cpp:221
monero_integrated_address decode_integrated_address(const std::string &integrated_address) const override
Definition: monero_wallet_keys.cpp:233
monero_account get_account(const uint32_t account_idx, bool include_subaddresses) const override
Definition: monero_wallet_keys.cpp:238
bool verify_message(const std::string &msg, const std::string &address, const std::string &signature) const override
Definition: monero_wallet_keys.cpp:282
static monero_wallet_keys * create_wallet_from_keys(const monero_network_type network_type, const std::string &address, const std::string &view_key, const std::string &spend_key, const std::string &language="English")
Definition: monero_wallet_keys.cpp:128
static monero_wallet_keys * create_wallet_from_mnemonic(const monero_network_type network_type, const std::string &mnemonic, const std::string &seed_offset)
Definition: monero_wallet_keys.cpp:98
Definition: monero_wallet.h:123
monero_network_type
Definition: monero_daemon_model.h:90
monero_version get_version() const override
Definition: monero_wallet_keys.cpp:214
bool is_view_only() const override
Definition: monero_wallet_keys.h:118
std::vector< monero_subaddress > get_subaddresses(const uint32_t account_idx, const std::vector< uint32_t > &subaddress_indices) const override
Definition: monero_wallet_keys.cpp:254
std::string get_private_view_key() const override
Definition: monero_wallet_keys.h:123
Definition: monero_wallet_keys.h:68
Definition: monero_wallet_model.h:322
monero_network_type get_network_type() const override
Definition: monero_wallet_keys.h:120
std::string get_public_view_key() const override
Definition: monero_wallet_keys.h:125
std::string get_mnemonic_language() const override
Definition: monero_wallet_keys.h:122
static std::vector< std::string > get_mnemonic_languages()
Definition: monero_wallet_keys.cpp:201
monero_integrated_address get_integrated_address(const std::string &standard_address="", const std::string &payment_id="") const override
Definition: monero_wallet_keys.cpp:228
static monero_wallet_keys * create_wallet_random(const monero_network_type network_type, const std::string &language="English")
Definition: monero_wallet_keys.cpp:76
std::string get_mnemonic() const override
Definition: monero_wallet_keys.h:121
std::string get_primary_address() const override
Definition: monero_wallet_keys.h:127
std::string get_private_spend_key() const override
Definition: monero_wallet_keys.h:124
void close(bool save=false) override
Definition: monero_wallet_keys.cpp:287
virtual void save()
Definition: monero_wallet.h:1291
Definition: monero_daemon_model.h:99