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

config: New option --minrelaytxfee #520

Merged
merged 1 commit into from
Oct 20, 2015
Merged

config: New option --minrelaytxfee #520

merged 1 commit into from
Oct 20, 2015

Conversation

dajohi
Copy link
Member

@dajohi dajohi commented Oct 20, 2015

--minrelaytxfee allows the user to specify the minimum transaction
fee in BTC/kB in which the fee is considered a non-zero fee.

@@ -119,11 +119,13 @@ type config struct {
DropAddrIndex bool `long:"dropaddrindex" description:"Deletes the address-based transaction index from the database on start up, and the exits."`
NoPeerBloomFilters bool `long:"nopeerbloomfilters" description:"Disable bloom filtering support."`
SigCacheMaxSize uint `long:"sigcachemaxsize" description:"The maximum number of entries in the signature verification cache."`
MinRelayTxFee float64 `long:"minrelaytxfee" description:"The minimum transaction fee in BTC/kB be considered a non-zero fee."`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to be considered

--minrelaytxfee allows the user to specify the minimum transaction
fee in BTC/kB in which the fee is considered a non-zero fee.
@davecgh
Copy link
Member

davecgh commented Oct 20, 2015

I've tested this and reviewed the code. The fee is set properly and the getinfo RPC call returns the configured value. Also, specifying invalid values on the command line results in an error as expected.

OK.

@conformal-deploy conformal-deploy merged commit a56db22 into btcsuite:master Oct 20, 2015
@dajohi dajohi deleted the mintxrelayfee branch October 20, 2015 18:09
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.

3 participants