See the discussion in #1151: https://github.com/bitcoindevkit/bdk/issues/1151#issuecomment-1752555182 (and following comments)