mirror of
https://github.com/ACINQ/eclair.git
synced 2025-02-22 22:25:26 +01:00
* Refactor tx signing (no functional changes) * Upgrade input info class to allow spending from taproot transactions Our InputInfo class contains a tx output and the matching redeem script, which is enough to spend segwit v0 transactions. For taproot transactions, instead of a redeem script, we need a script tree instead, and the appropriate internal pubkey. * Use specific segwit and taproot input info types We now use specific subtypes for segwit inputs (which include a redeem script) and taproot inputs (which include a script tree and an internal key). Older codecs have been modified to always return a SegwitInput. v4 codec is modified and uses an empty redeem script as a marker to specify that a script tree is being used, which makes it compatible with the current v4 codec. Current (v4) codecs only handle segwit inputs. Support for taproot inputs will be added to v5 codecs. --------- Co-authored-by: Pierre-Marie Padiou <pm47@users.noreply.github.com> |
||
---|---|---|
.. | ||
src | ||
eclair-cli | ||
pom.xml |