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
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGbf4bf40a1c8e: Merge pull request #5482
Branches
Unknown
Tags
Unknown

Event Timeline