diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-12-05 21:44:25 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-12-05 21:44:25 +0000 |
commit | c6cfe0f26d51b8ef29ff3ecbcb651ef5e9b5b686 (patch) | |
tree | b8ae7dc63bdedc84f5ad7c9f11adcd516b6e0113 /src/wallet/wallet2.h | |
parent | wallet: default auto-refresh to true for old wallets (diff) | |
download | monero-c6cfe0f26d51b8ef29ff3ecbcb651ef5e9b5b686.tar.xz |
wallet: make the wallet refresh type a wallet setting
instead of a command line setting. It makes sense that is is
a long lived setting.
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index d6aea182d..ecf4ef3dc 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -84,6 +84,7 @@ namespace tools RefreshFull, RefreshOptimizeCoinbase, RefreshNoCoinbase, + RefreshDefault = RefreshOptimizeCoinbase, }; private: @@ -244,7 +245,7 @@ namespace tools bool refresh(uint64_t & blocks_fetched, bool& received_money, bool& ok); void set_refresh_type(RefreshType refresh_type) { m_refresh_type = refresh_type; } - RefreshType get_refresh_type(RefreshType refresh_type) const { return m_refresh_type; } + RefreshType get_refresh_type() const { return m_refresh_type; } bool testnet() const { return m_testnet; } bool restricted() const { return m_restricted; } |