Open evanlinjin opened 11 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).
This is because
rust-bitcoin
also usesu64
for weights.Original comment: https://github.com/bitcoindevkit/bdk/pull/1072#discussion_r1393654280