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

chore: include whether the channel is public or not in channel ready event #376

Merged
merged 2 commits into from
Jul 31, 2024

Conversation

rolznz
Copy link
Contributor

@rolznz rolznz commented Jul 31, 2024

With this we can have custom emails and monitors/workflows if a user opens a public and private channel for example

@rolznz rolznz requested a review from bumi July 31, 2024 09:50
ls.eventPublisher.Publish(&events.Event{
Event: "nwc_channel_ready",
Properties: map[string]interface{}{
"counterparty_node_id": eventType.CounterpartyNodeId,
"node_type": config.LDKBackendType,
"public": channels[channelIndex].IsPublic,
Copy link
Contributor

Choose a reason for hiding this comment

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

is there other relevant information? like the capacity?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added capacity and also whether the channel is outbound or not

@rolznz rolznz added this to the v1.4.0 milestone Jul 31, 2024
@rolznz rolznz merged commit 406e9f3 into master Jul 31, 2024
7 of 8 checks passed
@rolznz rolznz deleted the chore/channel-ready-event-public branch July 31, 2024 15:25
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