Skip to content

Deprecate bech32 as default for newaddr#8656

Merged
rustyrussell merged 2 commits intoElementsProject:masterfrom
rustyrussell:guilt/deprecate-bech32
Nov 7, 2025
Merged

Deprecate bech32 as default for newaddr#8656
rustyrussell merged 2 commits intoElementsProject:masterfrom
rustyrussell:guilt/deprecate-bech32

Conversation

@rustyrussell
Copy link
Contributor

No description provided.

Either use p2tr (if not elements) or explicitly ask for a bech32 address.

Signed-off-by: Rusty Russell <[email protected]>
Of course we still have to return a `bech32` for the deprecation period.

Changelog-Added: JSON-RPC: `newaddr` will now return a `p2tr` field by default.
Changelog-Deprecated: JSON-RPC: `newaddr` returning a `bech32` field if `addresstype` is not specified (use `p2tr`).
Signed-off-by: Rusty Russell <[email protected]>
@rustyrussell rustyrussell added this to the v25.12 milestone Nov 3, 2025
@rustyrussell rustyrussell requested a review from sangbida November 3, 2025 10:01
@rustyrussell rustyrussell requested a review from cdecker as a code owner November 3, 2025 10:01
@cdecker
Copy link
Member

cdecker commented Nov 3, 2025

ACK 3ed5904

@rustyrussell rustyrussell merged commit c9fdf60 into ElementsProject:master Nov 7, 2025
72 of 76 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants