Needs #1023 Use the rust-bitcoin methods instead, and contribute upstream if they're lacking. See https://github.com/bitcoindevkit/bdk/pull/1023#discussion_r1263140218