loop/staticaddr
Boris Nagaev 09c92527ea
staticaddr: accept production taproot channels
LND v0.21 exposes CommitmentType_TAPROOT as the production taproot
channel commitment type, while SIMPLE_TAPROOT remains a legacy taproot
enum. Static address channel opens previously rejected TAPROOT and only
classified SIMPLE_TAPROOT as a taproot output for fee and weight
estimates.

Accept TAPROOT in the static address open-channel validator and keep
accepting SIMPLE_TAPROOT for compatibility. Treat both taproot
commitment enums as P2TR outputs for deposit-selection and withdrawal
fee estimates. Callers using the production enum then get the same
weight accounting as the legacy taproot enum.

This does not change the CLI mapping for user-facing
channel_type=taproot. It only makes the static address path compatible
with callers that already send LND production taproot commitment type.
2026-06-22 12:46:12 -05:00
..
address Merge pull request #1133 from 0xfandom/refactor/1056-move-parameters-to-script 2026-05-20 22:02:57 +02:00
deposit staticaddr/deposit: finalize deposits asynchronously 2026-06-22 10:18:07 +02:00
loopin staticaddr/loopin: include failed swaps in state queries 2026-06-22 10:18:07 +02:00
openchannel staticaddr: accept production taproot channels 2026-06-22 12:46:12 -05:00
script staticaddr: fix timeout comment typo 2026-05-27 11:49:49 +02:00
staticutil staticaddr: accept production taproot channels 2026-06-22 12:46:12 -05:00
version multi: do not rename swapserverrpc to looprpc 2024-09-10 09:54:17 -03:00
withdraw staticaddr: accept production taproot channels 2026-06-22 12:46:12 -05:00
log.go staticaddr: open channel manager 2026-02-26 20:57:26 +01:00