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_rpc_server_commands_defs.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 'src/wallet/wallet_rpc_server_commands_defs.h')
-rw-r--r-- | src/wallet/wallet_rpc_server_commands_defs.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/wallet/wallet_rpc_server_commands_defs.h b/src/wallet/wallet_rpc_server_commands_defs.h index 6439a19fe..cde9863a2 100644 --- a/src/wallet/wallet_rpc_server_commands_defs.h +++ b/src/wallet/wallet_rpc_server_commands_defs.h @@ -110,7 +110,7 @@ namespace wallet_rpc struct request { std::list<transfer_destination> destinations; - uint64_t fee_multiplier; + uint32_t priority; uint64_t mixin; uint64_t unlock_time; std::string payment_id; @@ -119,7 +119,7 @@ namespace wallet_rpc BEGIN_KV_SERIALIZE_MAP() KV_SERIALIZE(destinations) - KV_SERIALIZE(fee_multiplier) + KV_SERIALIZE(priority) KV_SERIALIZE(mixin) KV_SERIALIZE(unlock_time) KV_SERIALIZE(payment_id) @@ -147,7 +147,7 @@ namespace wallet_rpc struct request { std::list<transfer_destination> destinations; - uint64_t fee_multiplier; + uint32_t priority; uint64_t mixin; uint64_t unlock_time; std::string payment_id; @@ -156,7 +156,7 @@ namespace wallet_rpc BEGIN_KV_SERIALIZE_MAP() KV_SERIALIZE(destinations) - KV_SERIALIZE(fee_multiplier) + KV_SERIALIZE(priority) KV_SERIALIZE(mixin) KV_SERIALIZE(unlock_time) KV_SERIALIZE(payment_id) @@ -225,7 +225,7 @@ namespace wallet_rpc struct request { std::string address; - uint64_t fee_multiplier; + uint32_t priority; uint64_t mixin; uint64_t unlock_time; std::string payment_id; @@ -234,7 +234,7 @@ namespace wallet_rpc BEGIN_KV_SERIALIZE_MAP() KV_SERIALIZE(address) - KV_SERIALIZE(fee_multiplier) + KV_SERIALIZE(priority) KV_SERIALIZE(mixin) KV_SERIALIZE(unlock_time) KV_SERIALIZE(payment_id) |