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.
This commit is contained in:
moneromooo-monero
2016-09-16 11:50:52 +01:00
parent e06530e2d9
commit 9c7b0cb28e
8 changed files with 84 additions and 64 deletions

View File

@@ -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&) {