lnd.xprv/lnwallet/chanfunding
Oliver Gugger 2d70b46269
chanfunding: extend PSBT witness input check
Fixes #5287.

The PSBT spec is a bit vague when it comes to the WitnessUtxo field of
an input as it's not strictly required for witness inputs. Therefore
Electrum for example does not include the field.
We need to make the SegWit input check a bit more elaborate by looking
at the output script of the UTXO and also the redeem script in case it's
a nested SegWit spend.
2021-05-13 20:42:57 +02:00
..
assembler.go lnwallet/chanfunding: add Inputs/Outputs to assemblers 2021-01-19 10:53:45 +01:00
canned_assembler.go lnwallet/chanfunding: add Inputs/Outputs to assemblers 2021-01-19 10:53:45 +01:00
coin_select_test.go chanfunding: fee estimation based on change output in CoinSelect 2021-04-13 11:37:12 +02:00
coin_select.go chanfunding: fee estimation based on change output in CoinSelect 2021-04-13 11:37:12 +02:00
log.go lnwallet/chanfunding: introduce new channel funding abstractions 2019-12-02 17:11:32 -06:00
psbt_assembler_test.go chanfunding: extend PSBT witness input check 2021-05-13 20:42:57 +02:00
psbt_assembler.go chanfunding: extend PSBT witness input check 2021-05-13 20:42:57 +02:00
wallet_assembler.go chanfunding: factor out sanity check for change that is dust 2021-04-13 11:37:20 +02:00