Skip to content

Add ChannelPending event - #60

Merged
tnull merged 1 commit into
lightningdevkit:mainfrom
tnull:2023-04-add-channel-pending-event
Apr 20, 2023
Merged

Add ChannelPending event#60
tnull merged 1 commit into
lightningdevkit:mainfrom
tnull:2023-04-add-channel-pending-event

Conversation

@tnull

@tnulltnull commented Apr 4, 2023

Copy link
Copy Markdown
Collaborator

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.

@tnulltnull mentioned this pull request Apr 4, 2023
47 tasks
@tnulltnull added this to the 0.1 milestone Apr 4, 2023
Comment threadsrc/event.rs
@tnull
tnullforce-pushed the 2023-04-add-channel-pending-event branch from 454ebf2 to 2185397CompareApril 18, 2023 07:43
@tnull

Copy link
Copy Markdown
CollaboratorAuthor

Rebased on main after #13 has been merged.

@tnull
tnullforce-pushed the 2023-04-add-channel-pending-event branch from 2185397 to 126e56aCompareApril 18, 2023 08:29
@tnull

Copy link
Copy Markdown
CollaboratorAuthor

Rebased on #64.

jkczyz
jkczyz previously approved these changes Apr 20, 2023
Comment threadsrc/event.rs
/// 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
Copy Markdown
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.

@tnulltnullApr 20, 2023

Copy link
Copy Markdown
CollaboratorAuthor

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
tnullforce-pushed the 2023-04-add-channel-pending-event branch from 126e56a to 4d7e940CompareApril 20, 2023 16:58
@tnull

tnull commented Apr 20, 2023

Copy link
Copy Markdown
CollaboratorAuthor

Rebased after merging #64.

@tnull
tnull merged commit b124eca into lightningdevkit:mainApr 20, 2023
joostjager pushed a commit to joostjager/ldk-node that referenced this pull request Jan 28, 2026
Sign up for freeto 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

@tnull@jkczyz@jurvis