mirror of
https://github.com/LBRYFoundation/lbcutil.git
synced 2025-08-23 17:47:30 +00:00
As described in CVE-2020-14199 it is unsafe to only rely on witness UTXO information when signing. Hardware wallets fixed this by also requiring the full non-witness UTXO to be present for a witness input. To be compatible with those newer hardware wallet firmware, we need to remove the sanity checks that disallowed setting witness and non-witness UTXOs at the same time. See https://github.com/bitcoin/bitcoin/pull/19215 for comparison which removed the sanity checks in Bitcoin Core. |
||
---|---|---|
.. | ||
bip32.go | ||
creator.go | ||
extractor.go | ||
finalizer.go | ||
go.mod | ||
go.sum | ||
partial_input.go | ||
partial_output.go | ||
partialsig.go | ||
psbt.go | ||
psbt_test.go | ||
signer.go | ||
sort.go | ||
sort_test.go | ||
types.go | ||
updater.go | ||
utils.go | ||
utils_test.go |