-
Notifications
You must be signed in to change notification settings - Fork 102
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
Add ChannelPending
event
#60
Conversation
454ebf2
to
2185397
Compare
Rebased on main after #13 has been merged. |
2185397
to
126e56a
Compare
Rebased on #64. |
/// 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], |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
126e56a
to
4d7e940
Compare
Rebased after merging #64. |
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.