diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-09-16 11:50:52 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-09-16 11:50:52 +0100 |
commit | 9c7b0cb28e015f5f7542932e0edcade748c1a67d (patch) | |
tree | 2fea07fc1dc1806207cfca3212f802fa82e2205f /src/wallet/wallet_errors.h | |
parent | Merge pull request #1077 (diff) | |
download | monero-9c7b0cb28e015f5f7542932e0edcade748c1a67d.tar.xz |
wallet: change priority/fee to ArticMine's recommendation
We keep 1, 2, 3 multipliers till the fee decrase from 0.01/kB
to 0.002/kB, where we start using 1, 20, 166 multipliers.
This ensures the higher multiplier will compensate for the
block reward penalty when pushing past 100% of the past median.
The fee-multiplier wallet setting is now rename to priority,
since it keeps its [0..3] range, but maps to different multiplier
values.
Diffstat (limited to '')
-rw-r--r-- | src/wallet/wallet_errors.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wallet/wallet_errors.h b/src/wallet/wallet_errors.h index 8ea061152..c5590d79c 100644 --- a/src/wallet/wallet_errors.h +++ b/src/wallet/wallet_errors.h @@ -56,7 +56,7 @@ namespace tools // file_read_error // file_save_error // invalid_password - // invalid_fee_multiplier + // invalid_priority // refresh_error * // acc_outs_lookup_error // block_parse_error @@ -227,10 +227,10 @@ namespace tools std::string to_string() const { return wallet_logic_error::to_string(); } }; - struct invalid_fee_multiplier : public wallet_logic_error + struct invalid_priority : public wallet_logic_error { - explicit invalid_fee_multiplier(std::string&& loc) - : wallet_logic_error(std::move(loc), "invalid fee multiplier") + explicit invalid_priority(std::string&& loc) + : wallet_logic_error(std::move(loc), "invalid priority") { } |