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

wallet: Print the channel status when loading from the DB #7354

Merged
merged 2 commits into from
Jun 22, 2024

Conversation

cdecker
Copy link
Member

@cdecker cdecker commented May 29, 2024

No description provided.

@cdecker cdecker force-pushed the 20240529-print-chanstate-onload branch 3 times, most recently from 4de271f to fb0c5f9 Compare May 29, 2024 15:28
@rustyrussell
Copy link
Contributor

Can we just use channel->log instead?

@cdecker
Copy link
Member Author

cdecker commented May 30, 2024

As in changing the topic we log to, or add a new log event with that topic, specifying some more metadata about the channel?

I was trying to debug a node with several multiplexed channels, and
was finding it a bit difficult to determine which channel index
matches which result of `listpeerchannels` as well as figuring out
what their status was. This just prints the status in string format
when loading the channel from the DB.

Changelog-Changed: wallet: The channel status is printed when loading it from the DB
@cdecker cdecker force-pushed the 20240529-print-chanstate-onload branch from 6e4d0fe to df6a8b8 Compare June 19, 2024 12:51
@cdecker cdecker merged commit 1347e86 into master Jun 22, 2024
35 checks passed
@cdecker cdecker deleted the 20240529-print-chanstate-onload branch June 22, 2024 12:50
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.

2 participants