-
Notifications
You must be signed in to change notification settings - Fork 96
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
Prepare for custom channels (lnd v0.18.4-beta) #848
Conversation
8ab9d4c
to
5c64ab5
Compare
5c64ab5
to
35e6aea
Compare
Similar to lightninglabs/loop#828, I bumped to We will want to wait with merging this until the full dependency chain above is resolved. But once |
Need to add #861. |
@jamaljsr I tagged you for review on this with the intention of asking you to run a full manual test run of this version within Polar (all the tests you've run previously). |
@guggero Thanks for the clarification. I wasn't sure how I should test this or if it was ready. I will try it out in Polar by early next week at the latest, hopefully sooner. Excited to see this functionality getting mainlined 🙌 |
35e6aea
to
ef8f8cf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good!
23d6696
to
1335e4b
Compare
This PR now contains all the recently merged PRs of the |
3d30a93
to
9476c03
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tACK LGTM 🔥 🚀
I tested the following scenarios in Polar using this network structure with all litd
nodes except for erin
which is Core Lightning v24.08.1.
alice --[asset]-> bob --[sats]-> carol --[asset]-> dave
|
[sats]
|
v
erin (core-ln)
- fund asset channel using full asset balance after mint
- fund asset channel using partial asset balance after mint
- fund asset channel using full asset balance after mint + onchain send
- fund asset channel using partial asset balance after mint + onchain send
- fund asset channel using full asset balance from onchain receive
- fund asset channel using partial asset balance from onchain receive
- fund asset channel with
push_sat=5000
- create asset invoice on dave, pay with asset on alice (multi-hop)
- create asset invoice on bob, pay with asset on alice (direct peer)
- create asset invoice on alice, pay with asset on bob (direct peer, opposite direction)
- create asset invoice on alice, pay with asset on dave (multi-hop, opposite direction)
- create asset invoice on dave, pay with sats on bob (sats -> asset)
- create sats invoice on bob, pay with asset on dave (asset -> sats)
- create asset invoice on alice, pay with sats on erin (cln sats -> asset)
- create sats invoice on erin, pay with asset on alice (asset -> cln sats)
- create sats invoice on bob, pay with sats on alice (direct peer, sats -> sats)
- create sats invoice on dave, pay with sats on alice (multi-hop, sats -> sats)
- send asset keysend payment from alice to bob
- send asset keysend payment from alice to carol
Note: I was using commit 35e6aea. I see there have been more pushes since I started testing. Let me know if you'd like another round of testing using the final commits before merging.
9476c03
to
cf2458e
Compare
8ac370b
to
8371d03
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM from a Lit standpoint! I do think we should get a tap-asset engineer to ACK the itests and commands specifically though 🙏
Holding back on the green check until LND 18.4 is out of RC phase
dd49654
to
890764a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM from a LiT standpoint from me as well 🚀! Will do final testing and hit approve once lnd 0.18.4
is released!
47f213d
to
b674ce2
Compare
b674ce2
to
411f881
Compare
95faab7
to
230fc7a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tACK LGTM 🚀🔥!!
Leaving some minor comments, but no need to address them.
This commit represents the main integration between lnd running in integrated mode and tapd providing auxiliary components for custom channels.
This change will speed up integration tests by not waiting a full 5 seconds before re-trying the connection to lnd if it fails the first time.
Co-authored-by: Olaoluwa Osuntokun <laolu32@gmail.com> Co-authored-by: Gijs van Dam <gijs@lightning.engineering> Co-authored-by: George Tsagkarelis <george.tsagkarelis@gmail.com>
Add the `priceoraclerpc`, `rfqrpc`, and the `tapchannelrpc` JSON callbacks to the litclient's `Registrations` array. This allows the litclient to use the rpc functions contained in these JSON callbacks.
…gh a build argument
230fc7a
to
62657a0
Compare
62657a0
to
f16893d
Compare
This is the mother of all PRs for the custom channel saga. Merging this PR will be the final step for bringing custom channels to a non-experimental version of litd. There are many dependencies (see list/graph below), so it will remain in draft for a bit.
Most of the code in these PRs have already been reviewed on the
0-19-staging
branch and have just been squashed down into easy-to-review pieces.The following list is an ordered list of dependencies that need to be resolved before this PR can be merged (cc @dstadulis):
lndclient v0.18.4-0
that points to release branch with stable commitslndclient v0.18.4-0
(and with it also bumping thelnd
version), take out of draftlndclient v0.18.4-0
(and with it also bumping thelnd
version), take out of draftlndclient v0.18.4-0
(and with it also bumping thelnd
version), take out of draftlnd v0.18.4-beta
to be tagged (at least an RC tag) [release]: Cherry Pick Commits for LND v0.18.4 Release lightningnetwork/lnd#9173lnd-18-4
to track lndv0.18.4-beta
release lndclient#194 point to the tagged version oflnd
lndclient v0.18.4-6
Create and merge Pool PR to reference(not required,lndclient v0.18.4-6
litd
compiles without)Create and merge Loop PR to reference(not required,lndclient v0.18.4-6
litd
compiles without)lndclient v0.18.4-1
loop
,pool
,tapd
)NOTE: This PR includes all recent changes to
litd
's0-19-staging
branch, including the new liquidity tests from #842. There haven't been any other in-flight PRs to the staging branch when writing this.