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

Replace float64 and use int64 for feePerKB calculcation #125

Merged
merged 1 commit into from
Apr 20, 2016

Conversation

alexlyp
Copy link
Member

@alexlyp alexlyp commented Apr 19, 2016

No description provided.

@cjepson
Copy link
Contributor

cjepson commented Apr 19, 2016

utACK. We can probably also replace this minimum threshold with something smaller so that lower fee, higher priority transactions can still enter the mempool while having lower fees, while still preventing outright spam.

@jcvernaleo
Copy link
Member

This looks good and was fine in my testing.
tACK

@cjepson
Copy link
Contributor

cjepson commented Apr 20, 2016

tACK, mainnet node seems happy with this.

Change calcMinRequiredTxRelay fee to take fee/kb as an arg

This lets us to always compare int fees to fees and not
have to calculate the tx's fee/kb just to compare to the threshold
@jcvernaleo jcvernaleo merged commit a5ca12f into decred:master Apr 20, 2016
@alexlyp alexlyp deleted the ayp_nofeefloats branch April 21, 2016 20:40
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