Skip to content

Conversation

@t-bast
Copy link
Member

@t-bast t-bast commented Jun 17, 2025

We previously waited for 12 blocks before removing spent channels from our graph: the spec updates this delay to 72 blocks to allow more time for splice announcement in lightning/bolts#1270.

We also make this configurable, which can simplify testing and allows nodes to wait even longer if they wish.

We previously waited for 12 blocks before removing spent channels from
our graph: the spec updates this delay to 72 blocks to allow more time
for splice announcement in lightning/bolts#1270.

We also make this configurable, which can simplify testing and allows
nodes to wait even longer if they wish.
@t-bast t-bast requested a review from remyers June 17, 2025 08:00
Copy link
Contributor

@remyers remyers left a comment

Choose a reason for hiding this comment

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

LGTM!

This change is related to #2989 and will increase the chance that we'll see a splice before we remove a closed channel from the router.

@t-bast t-bast merged commit 8e3e206 into master Jun 17, 2025
1 check passed
@t-bast t-bast deleted the increase-channel-edge-delete-delay branch June 17, 2025 13:04
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