Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use AllowHighFees in SendRawTransaction cmd to actually check tx fees #124

Merged
merged 1 commit into from
Apr 20, 2016

Conversation

alexlyp
Copy link
Member

@alexlyp alexlyp commented Apr 19, 2016

If the tx fee/kb are 100x above the minimum (1e6 atoms) and AllowHighFees is false (default), then error and don't allow the tx to be broadcast.

This will not effect any other incoming tx to this node, it is only being checked for sendrawtransaction coming out of that node.

Fixes issue 187 in dcrwallet

@jcvernaleo
Copy link
Member

jcvernaleo commented Apr 20, 2016

This seems good in my testing (when used with decred/dcrwallet#194

AllowHighFee (default to false) in sendrawtransaction will protect
the user from accidentally sending out fees with unreasonably high
fee/kb tx.  We have decided that 100x times min relay fee/kb is a
sensible upper limit for this check.  But if people choice to force
through tx they can always set this flag to true and the check will
be removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants