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

improve Transaction._estimateFee() precision #277

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lpinca
Copy link

@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.

Use the binary interpretation of kilobyte (1024 bytes) and return the
correct amount of satoshis.
@lpinca lpinca changed the title improve Transaction._estimateFeePerKb() precision improve Transaction._estimateFee() precision Dec 17, 2018
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.

1 participant