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/api | |
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/api')
-rw-r--r-- | src/wallet/api/wallet.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp index f8704fde3..25a20a575 100644 --- a/src/wallet/api/wallet.cpp +++ b/src/wallet/api/wallet.cpp @@ -493,9 +493,8 @@ PendingTransaction *WalletImpl::createTransaction(const string &dst_addr, const //std::vector<tools::wallet2::pending_tx> ptx_vector; try { - // priority called "fee_multiplied in terms of underlying wallet interface transaction->m_pending_tx = m_wallet->create_transactions_2(dsts, fake_outs_count, 0 /* unlock_time */, - static_cast<uint64_t>(priority), + static_cast<uint32_t>(priority), extra, m_trustedDaemon); } catch (const tools::error::daemon_busy&) { |