Skip to content

Add ListPeerChannels method - #16

Merged
wtogami merged 2 commits into
ElementsProject:masterfrom
Impa10r:master
Sep 10, 2024
Merged

Add ListPeerChannels method#16
wtogami merged 2 commits into
ElementsProject:masterfrom
Impa10r:master

Conversation

@Impa10r

@Impa10r Impa10r commented Aug 27, 2024

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

Curious how you tested this

@Impa10r

Impa10r commented Aug 31, 2024

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
Contributor

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

@Impa10r

Impa10r commented Sep 1, 2024

Copy link
Copy Markdown
Contributor Author

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

Thanks. Use this fork.

@Impa10r

Impa10r commented Sep 8, 2024

Copy link
Copy Markdown
Contributor Author

@YusukeShimizu Hi, could you review this PR please?

@YusukeShimizu YusukeShimizu left a comment

Copy link
Copy Markdown
Contributor

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