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

Add ListPeerChannels method #16

Merged
merged 2 commits into from
Sep 10, 2024
Merged

Conversation

Impa10r
Copy link
Contributor

@Impa10r Impa10r commented Aug 27, 2024

CLN 24.05 removed channels list from ListPeers response. Projects that depended on it could use ListPeerChannels now.

https://docs.corelightning.org/reference/lightning-listpeerchannels

@chrisguida
Copy link
Contributor

Curious how you tested this

@Impa10r
Copy link
Contributor Author

Impa10r commented Aug 31, 2024

Curious how you tested this

It is just adding one new method. I tested by using it to fix this issue: giovannizotta/circular#20

@chrisguida
Copy link
Contributor

Ah ok you tested it with circular? Cool, I'll try it out soon

@Impa10r
Copy link
Contributor Author

Impa10r commented Sep 1, 2024

Ah ok you tested it with circular? Cool, I'll try it out soon

Thanks. Use this fork.

@Impa10r
Copy link
Contributor Author

Impa10r commented Sep 8, 2024

@YusukeShimizu Hi, could you review this PR please?

Copy link
Contributor

@YusukeShimizu YusukeShimizu left a comment

Choose a reason for hiding this comment

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

Thank you for your support.
I have tested it in peerswap and confirmed that it is working correctly.

ElementsProject/peerswap#314

@wtogami wtogami merged commit 5c07410 into ElementsProject:master Sep 10, 2024
YusukeShimizu added a commit that referenced this pull request Sep 22, 2024
#16 introduced
new fields to the PeerChannel struct returned
by the listpeers command,
but the corresponding test was not updated,
causing the test build to fail.
This commit fixes the test code to accommodate the changes
in the PeerChannel struct, resolving the build error.
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.

4 participants