aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_errors.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-09-16 11:50:52 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-09-16 11:50:52 +0100
commit9c7b0cb28e015f5f7542932e0edcade748c1a67d (patch)
tree2fea07fc1dc1806207cfca3212f802fa82e2205f /src/wallet/wallet_errors.h
parentMerge pull request #1077 (diff)
downloadmonero-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.h8
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")
{
}