Skip to content

Add ChannelPending event #60

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

Merged
merged 1 commit into from
Apr 20, 2023

Conversation

tnull
Copy link
Collaborator

@tnull tnull commented Apr 4, 2023

Based on #64 now.

After lightningdevkit/rust-lightning#2098 has been merged, we add the new ChannelPending event which notifies users of newly created channels that are pending confirmation on-chain.

@tnull tnull mentioned this pull request Apr 4, 2023
47 tasks
@tnull tnull added this to the 0.1 milestone Apr 4, 2023
@tnull tnull force-pushed the 2023-04-add-channel-pending-event branch from 454ebf2 to 2185397 Compare April 18, 2023 07:43
@tnull
Copy link
Collaborator Author

tnull commented Apr 18, 2023

Rebased on main after #13 has been merged.

@tnull tnull force-pushed the 2023-04-add-channel-pending-event branch from 2185397 to 126e56a Compare April 18, 2023 08:29
@tnull
Copy link
Collaborator Author

tnull commented Apr 18, 2023

Rebased on #64.

jkczyz
jkczyz previously approved these changes Apr 20, 2023
/// The `user_channel_id` of the channel.
user_channel_id: u128,
/// The `temporary_channel_id` this channel used to be known by during channel establishment.
former_temporary_channel_id: [u8; 32],
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: Would opt to drop former as this seems to be implied by "temporary", FWIW.

Copy link
Collaborator Author

@tnull tnull Apr 20, 2023

Choose a reason for hiding this comment

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

I tend to disagree. The 'former' is there to clearly communicate that it's invalid by now.

@tnull tnull force-pushed the 2023-04-add-channel-pending-event branch from 126e56a to 4d7e940 Compare April 20, 2023 16:58
@tnull
Copy link
Collaborator Author

tnull commented Apr 20, 2023

Rebased after merging #64.

@tnull tnull merged commit b124eca into lightningdevkit:main Apr 20, 2023
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.

3 participants