diff options
author | stoffu <stoffu@protonmail.ch> | 2018-08-25 14:22:26 +0900 |
---|---|---|
committer | stoffu <stoffu@protonmail.ch> | 2018-09-17 22:15:29 +0900 |
commit | ba8dd3479d56ff084fbc4b631548ff8cf05f60d1 (patch) | |
tree | ab6feb77026d7fdbb196104e6f95eed7c52b33c1 /src/wallet/wallet2.h | |
parent | Merge pull request #4381 (diff) | |
download | monero-ba8dd3479d56ff084fbc4b631548ff8cf05f60d1.tar.xz |
api/wallet: properly disable key encryption
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 402066b50..fe39014ba 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -189,7 +189,7 @@ namespace tools static bool verify_password(const std::string& keys_file_name, const epee::wipeable_string& password, bool no_spend_key, hw::device &hwdev, uint64_t kdf_rounds); - wallet2(cryptonote::network_type nettype = cryptonote::MAINNET, uint64_t kdf_rounds = 1); + wallet2(cryptonote::network_type nettype = cryptonote::MAINNET, uint64_t kdf_rounds = 1, bool unattended = false); ~wallet2(); struct multisig_info @@ -638,7 +638,7 @@ namespace tools bool explicit_refresh_from_block_height() const {return m_explicit_refresh_from_block_height;} bool deinit(); - bool init(bool unatteded, std::string daemon_address = "http://localhost:8080", + bool init(std::string daemon_address = "http://localhost:8080", boost::optional<epee::net_utils::http::login> daemon_login = boost::none, uint64_t upper_transaction_weight_limit = 0, bool ssl = false, bool trusted_daemon = false); void stop() { m_run.store(false, std::memory_order_relaxed); } |