mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
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. |
||
|---|---|---|
| .. | ||
| address | ||
| deposit | ||
| loopin | ||
| openchannel | ||
| script | ||
| staticutil | ||
| version | ||
| withdraw | ||
| log.go | ||