HomePhabricator

[raw] reject insanely high fees by default in sendrawtransaction
9d14e689c86aUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

[raw] reject insanely high fees by default in sendrawtransaction

There have been several incidents where mainnet experimentation with
raw transactions resulted in insane fees. This is hard to prevent
in the raw transaction api because the inputs may not be known.
Since sending doesn't work if the inputs aren't known, we can catch
it there.

This rejects fees > than 10000 * nMinRelayTxFee or 1 BTC with the
defaults and can be overridden with a bool at the rpc.

Details

Provenance
Gregory Maxwell <greg@xiph.org>Authored on Aug 28 2013, 22:41
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGbb7d0fc12fcf: Merge pull request #2928 from jgarzik/cnb-txout
Branches
Unknown
Tags
Unknown

Event Timeline

Gregory Maxwell <greg@xiph.org> committed rSTAGING9d14e689c86a: [raw] reject insanely high fees by default in sendrawtransaction (authored by Gregory Maxwell <greg@xiph.org>).Aug 28 2013, 22:49