From 9c7b0cb28e015f5f7542932e0edcade748c1a67d Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Fri, 16 Sep 2016 11:50:52 +0100 Subject: 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. --- src/wallet/api/wallet.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/wallet/api/wallet.cpp') 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 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(priority), + static_cast(priority), extra, m_trustedDaemon); } catch (const tools::error::daemon_busy&) { -- cgit v1.2.3