HomePhabricator

Enforce minRelayTxFee on wallet created tx and add a maxtxfee option.
aa279d613152Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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.

Details

Provenance
Gregory Maxwell <greg@xiph.org>Authored on Dec 16 2014, 09:43
deadalnixPushed on May 14 2017, 22:04
Parents
rABCbf4bf40a1c8e: Merge pull request #5482
Branches
Unknown
Tags
Unknown

Event Timeline

Gregory Maxwell <greg@xiph.org> committed rABCaa279d613152: Enforce minRelayTxFee on wallet created tx and add a maxtxfee option. (authored by Gregory Maxwell <greg@xiph.org>).Dec 19 2014, 20:05