Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

Roasbeef
Copy link
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
funding/manager.go Outdated Show resolved Hide resolved
funding/manager.go Outdated Show resolved Hide resolved
funding/manager.go Outdated Show resolved Hide resolved
@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
Copy link
Collaborator

@ellemouton ellemouton left a comment

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 on lines +2137 to +2139
// TODO(roasbeef): no need for the rest as they're now
// implicit?

Copy link
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?

default:
return nil, fmt.Errorf("unhandled request channel type %v",
in.CommitmentType)
}

// TODO(roasbeef): make taproot the default chan type?
Copy link
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
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

lnrpc/lightning.proto Show resolved Hide resolved
Copy link
Collaborator

@Crypt-iQ Crypt-iQ left a comment

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
Copy link
Collaborator

@yyforyongyu yyforyongyu left a comment

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
@lightninglabs-deploy
Copy link

@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
lncfg/protocol.go Show resolved Hide resolved
@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
18 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: High Priority
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

7 participants