Skip to content

[8/?] - lncli+lnrpc: add support for creating unadvertised taproot channels - #7347

Merged
Roasbeef merged 4 commits into
lightningnetwork:simple-taproot-chans-stagingfrom
Roasbeef:simple-taproot-chans-cli-rpc
Jul 27, 2023
Merged

Roasbeef merged 4 commits into
lightningnetwork:simple-taproot-chans-stagingfrom
Roasbeef:simple-taproot-chans-cli-rpc

Conversation

@Roasbeef

Copy link
Copy Markdown
Member

Change Description

Depends on #7346.

Only the last 3 commits are new.

In this PR, we update the CLI+RPC interface to allow new taproot channels to be created.

The next PR in this series will tackle the contract court and the sweeper, to enable full on chain interaction and HTLC resolution for the new channels.

Steps to Test

Steps for reviewers to follow to test the change.

Pull Request Checklist

Testing

  • Your PR passes all CI checks.
  • Tests covering the positive and negative (error paths) are included.
  • Bug fixes contain tests triggering the bug to prevent regressions.

Code Style and Documentation

📝 Please see our Contribution Guidelines for further guidance.

@saubyk saubyk added this to the v0.16.0 milestone Jan 20, 2023
@saubyk saubyk modified the milestones: v0.16.0, v0.16.1 Feb 14, 2023
Comment thread funding/manager.go Outdated
Comment thread funding/manager.go Outdated
Comment thread funding/manager.go Outdated
@saubyk
saubyk requested review from ellemouton and yyforyongyu March 9, 2023 15:21
@saubyk saubyk modified the milestones: v0.16.1, v0.17.0 Mar 13, 2023
@Roasbeef
Roasbeef changed the base branch from master to simple-taproot-chans-funding-mgr April 27, 2023 00:13
@Roasbeef
Roasbeef force-pushed the simple-taproot-chans-cli-rpc branch from d0a1e0a to 90ff4b1 Compare April 27, 2023 00:14

@ellemouton ellemouton left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Short & Sweet 🍭 Looks good to go once the preceding ones are in and the build passes

Comment thread rpcserver.go
Comment on lines +2137 to +2139
// TODO(roasbeef): no need for the rest as they're now
// implicit?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are they? cant I want to support taproot chans but not want zero conf chans?

Comment thread rpcserver.go
in.CommitmentType)
}

// TODO(roasbeef): make taproot the default chan type?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps we should wait a bit & give users ample warning that we will switch the default type?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep won't be the default type for a looong time

Comment thread lnrpc/lightning.proto

@Crypt-iQ Crypt-iQ left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@Roasbeef
Roasbeef force-pushed the simple-taproot-chans-funding-mgr branch 2 times, most recently from 7b91e27 to a9dd0f4 Compare May 12, 2023 20:57
@Roasbeef
Roasbeef force-pushed the simple-taproot-chans-cli-rpc branch from 90ff4b1 to 077b57d Compare May 12, 2023 21:00

@yyforyongyu yyforyongyu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤙

@Roasbeef
Roasbeef force-pushed the simple-taproot-chans-funding-mgr branch 2 times, most recently from 138c6c5 to c8e9287 Compare July 3, 2023 02:18
@Roasbeef
Roasbeef force-pushed the simple-taproot-chans-funding-mgr branch 2 times, most recently from 171e993 to e47cced Compare July 24, 2023 19:26
@litbot-9000

Copy link
Copy Markdown
Collaborator

@Roasbeef, remember to re-request review from reviewers when ready

@Roasbeef
Roasbeef force-pushed the simple-taproot-chans-funding-mgr branch from e47cced to 8cfdf30 Compare July 26, 2023 00:36
@Roasbeef
Roasbeef force-pushed the simple-taproot-chans-cli-rpc branch from 077b57d to a3901c7 Compare July 26, 2023 00:37
@Roasbeef
Roasbeef force-pushed the simple-taproot-chans-funding-mgr branch from 8cfdf30 to a1b6a0d Compare July 26, 2023 00:54
@Roasbeef
Roasbeef force-pushed the simple-taproot-chans-cli-rpc branch from 4e0e94c to b7ebb59 Compare July 26, 2023 00:56
Comment thread lncfg/protocol.go Outdated
@Roasbeef
Roasbeef force-pushed the simple-taproot-chans-funding-mgr branch from a1b6a0d to ea25054 Compare July 27, 2023 00:04
@Roasbeef
Roasbeef force-pushed the simple-taproot-chans-cli-rpc branch from b7ebb59 to ba034cb Compare July 27, 2023 00:08
@Roasbeef
Roasbeef changed the base branch from simple-taproot-chans-funding-mgr to simple-taproot-chans-staging July 27, 2023 00:08
@Roasbeef
Roasbeef force-pushed the simple-taproot-chans-cli-rpc branch from ba034cb to 00a66b3 Compare July 27, 2023 00:11
@Roasbeef
Roasbeef force-pushed the simple-taproot-chans-cli-rpc branch from 00a66b3 to 7598dae Compare July 27, 2023 00:13
@Roasbeef
Roasbeef merged commit 96cceb1 into lightningnetwork:simple-taproot-chans-staging Jul 27, 2023
@saubyk saubyk moved this from High Priority to Merged in PR Review Priority May 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Merged
Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

7 participants