bitcoin/bitcoin — pull request #5485 by gmaxwell (2014-12-16 09:47:54+00:00)
Title: Enforce minRelayTxFee on wallet created tx and add a maxtxfee option.

Previously the minRelayTxFee was only enforced on user specified values.

It was possible for smartfee to produce a fee below minRelayTxFee which
would just result in the transaction getting stuck because it can't be
relayed.

This also introduces a maxtxfee option which sets an absolute maximum
for any fee created by the wallet, with an intention of increasing
user confidence that the automatic fees won't burn them. This was
frequently a concern even before smartfees.

If the configured fee policy won't even allow the wallet to meet the relay
fee the transaction creation may be aborted.