-
Notifications
You must be signed in to change notification settings - Fork 41
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 bitcoin::Amount
over u64
#250
Conversation
Thoughts on converting fee_rates, locktime, and weights as well? |
bc8e8b5
to
04cac5f
Compare
LGTM, except a few nits that I would have fixed myself but I don't seem to be able to edit your branch somehow, I put you the patch here:
|
I think it's nice to do it, I don't see any reason not to. Just need to be careful not to introduce bugs especially in the fee computation code. |
Hm that's the second time that has happened now, I don't have any branch rules on |
Just a note that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Other bitcoin crates have migrated to using
Amount
over u64 with the migration to 0.32 which usesAmount
. We should be aligned with the other bitcoin crates.BDK migration - bitcoindevkit/bdk#1595