Skip to content
This repository was archived by the owner on Apr 3, 2019. It is now read-only.

Conversation

@lpinca
Copy link
Contributor

@lpinca lpinca commented Dec 17, 2018

Use the binary interpretation of kilobyte (1024 bytes) and return the correct amount of satoshis.

With default parameters and a transaction size of 1024 bytes I expect a fee of 10000 satoshis. The actual result is currently 20000 satoshis.

@coveralls
Copy link

coveralls commented Dec 17, 2018

Coverage Status

Coverage remained the same at 96.057% when pulling 5932c3b on lpinca:use/kibibytes into df618e7 on bitpay:master.

@lpinca lpinca changed the title Make Transaction._estimateFeePerKb() use kibibytes improve Transaction._estimateFeePerKb() precision Dec 17, 2018
Use the binary interpretation of kilobyte (1024 bytes) and return the
correct amount of satoshis.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants