Commit 7f022ce
feat(wasm-utxo): add support for utxolib signature size compatibility
Add utxolibCompat option to Dimensions to match @bitgo/unspents vSize
calculations. This allows exact fee estimation compatibility with the
legacy library by using 72-byte signatures instead of 73-byte max.
The implementation handles encoding differences like OP_PUSHDATA2 for
redeemScripts, which affects weight calculations and virtual sizes.
Issue: BTC-2908
Co-authored-by: llm-git <llm-git@ttll.de>1 parent de6894d commit 7f022ce
5 files changed
Lines changed: 966 additions & 32 deletions
File tree
- packages/wasm-utxo
- js/fixedScriptWallet
- src/wasm/fixed_script_wallet
- test
0 commit comments