mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-16 13:00:19 +02:00
In this commit, we shuffle the CLI and RPC names so the bare "taproot"
identifier refers to the production taproot channel type (final
scripts, feature bits 80/81), i.e. the variant new integrations should
actually be using. Before this commit, "taproot" on the CLI mapped to
the staging bits, and anyone who wanted a real production taproot
channel had to spell out "taproot-final" on `lncli openchannel` or
`SIMPLE_TAPROOT_FINAL` over RPC. The recommended choice was hidden
behind the longer name.
On the CLI (`lncli openchannel --channel_type=...`):
- "taproot" now selects the production variant (it used to mean
staging).
- "taproot-staging" is added for the legacy development bits, for
peers that haven't moved over yet.
- "taproot-final" stays as a deprecated alias for "taproot" so
existing scripts don't break.
On the RPC (`CommitmentType`):
- `TAPROOT = 7` is added as the canonical name for the production
type. `SIMPLE_TAPROOT_FINAL = 7` is kept as a deprecated alias via
`option allow_alias = true`, so existing clients keep compiling
against the same Go constant and the wire value doesn't change.
- `SIMPLE_TAPROOT = 5` (staging) is unchanged.
- `SIMPLE_TAPROOT_OVERLAY = 6` is unchanged. The taproot-assets
daemon hard-codes this distinct enum value, so it's unaffected.
Wire compat is preserved end-to-end: only the comments, enum entry
order, and the CLI string-to-enum mapping change. The numeric values
and the existing generated Go identifiers stay stable.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| alloy-models | ||
| grpc | ||
| release-notes | ||
| rest | ||
| backport-workflow.md | ||
| benchmark_perf_loop.md | ||
| code_contribution_guidelines.md | ||
| configuring_tor.md | ||
| db_migration_guide.md | ||
| debugging_lnd.md | ||
| development_guidelines.md | ||
| DOCKER.md | ||
| estimate_route_fee.md | ||
| forwarding_history_privacy.md | ||
| fuzz.md | ||
| gossip_rate_limiting.md | ||
| INSTALL.md | ||
| key_import.md | ||
| leader_election.md | ||
| macaroons.md | ||
| MAKEFILE.md | ||
| musig2.md | ||
| onion_message_rate_limiting.md | ||
| postgres.md | ||
| psbt.md | ||
| recovery.md | ||
| release.md | ||
| release_branch_management.md | ||
| remote-signing.md | ||
| review.md | ||
| safety.md | ||
| signing_release_candidate.md | ||
| SphinxReplayDB.md | ||
| sqlite.md | ||
| wallet.md | ||
| watchtower.md | ||
| zero_conf_channels.md | ||