Skip to content

sweep+funding: default to P2TR outputs for all change addresses and new addrs #6666

@Roasbeef

Description

@Roasbeef

Tracking a follow up from the recent PR that supports P2TR inputs in the sweeper: #6632 (comment)

In a few areas, we still use p2wkh addr by default when generating funding outputs and change addrs when sweeping. We shoudl switch to always using P2TR outputs for change addrs, as then that'll tend all a user's funds towards P2TR outputs over time just due to normal operation.

The comment thread linked above shows all the known areas that need to be modified to using P2TR everywhere for change addrs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    beginnerIssues suitable for new developersfundingRelated to the opening of new channels with funding transactions on the blockchainintermediateIssues suitable for developers moderately familiar with the codebase and LNtaprootutxo sweeping

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions