bitcoindevkit / coin-select

Tool to help you select inputs for making bitcoin transactions.
Other
13 stars 7 forks source link

Use `u64` for weights #2

Open evanlinjin opened 11 months ago

evanlinjin commented 11 months ago

This is because rust-bitcoin also uses u64 for weights.

Original comment: https://github.com/bitcoindevkit/bdk/pull/1072#discussion_r1393654280

LLFourn commented 9 months ago

I thought this would be a good idea but I'm now against it as it provides a rudimentary way of stopping you mixing up weights and values. We don't want to wrap these things here like they do in rust-bitcoin (some type aliases would be nice).