Wallet::filename, Wallet::keysFilename, tests for move wallet

This commit is contained in:
Ilya Kitaev 2016-06-10 12:51:09 +03:00
parent 8f9d98b3e0
commit c554055ce4
4 changed files with 58 additions and 0 deletions

View file

@ -303,6 +303,16 @@ bool WalletImpl::store(const std::string &path)
return m_status == Status_Ok;
}
string WalletImpl::filename() const
{
return m_wallet->get_wallet_file();
}
string WalletImpl::keysFilename() const
{
return m_wallet->get_keys_file();
}
bool WalletImpl::init(const std::string &daemon_address, uint64_t upper_transaction_size_limit)
{
clearStatus();

View file

@ -61,6 +61,8 @@ public:
bool setPassword(const std::string &password);
std::string address() const;
bool store(const std::string &path);
std::string filename() const;
std::string keysFilename() const;
bool init(const std::string &daemon_address, uint64_t upper_transaction_size_limit);
bool connectToDaemon();
void setTrustedDaemon(bool arg);