Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/wallet.cpp
Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Lines | public: | ||||
const SecureString &new_wallet_passphrase) override { | const SecureString &new_wallet_passphrase) override { | ||||
return m_wallet.ChangeWalletPassphrase(old_wallet_passphrase, | return m_wallet.ChangeWalletPassphrase(old_wallet_passphrase, | ||||
new_wallet_passphrase); | new_wallet_passphrase); | ||||
} | } | ||||
bool backupWallet(const std::string &filename) override { | bool backupWallet(const std::string &filename) override { | ||||
return m_wallet.BackupWallet(filename); | return m_wallet.BackupWallet(filename); | ||||
} | } | ||||
std::string getWalletName() override { return m_wallet.GetName(); } | std::string getWalletName() override { return m_wallet.GetName(); } | ||||
std::set<CTxDestination> | |||||
getLabelAddresses(const std::string &label) override { | |||||
return m_wallet.GetLabelAddresses(label); | |||||
}; | |||||
bool getKeyFromPool(bool internal, CPubKey &pub_key) override { | bool getKeyFromPool(bool internal, CPubKey &pub_key) override { | ||||
return m_wallet.GetKeyFromPool(pub_key, internal); | return m_wallet.GetKeyFromPool(pub_key, internal); | ||||
} | } | ||||
const CChainParams &getChainParams() override { | const CChainParams &getChainParams() override { | ||||
return m_wallet.chainParams; | return m_wallet.chainParams; | ||||
} | } | ||||
bool getPubKey(const CKeyID &address, CPubKey &pub_key) override { | bool getPubKey(const CKeyID &address, CPubKey &pub_key) override { | ||||
return m_wallet.GetPubKey(address, pub_key); | return m_wallet.GetPubKey(address, pub_key); | ||||
▲ Show 20 Lines • Show All 195 Lines • Show Last 20 Lines |