1
0
mirror of https://github.com/lightning/bolts.git synced 2024-11-19 01:50:03 +01:00

gossip: 12-blocks delay channel closed follow-up (#1156)

We introduced a 12-blocks delay for channel closing in #1004, but we
didn't update the requirement in the section about pruning.
This commit is contained in:
Bastien Teinturier 2024-05-07 09:45:44 +02:00 committed by GitHub
parent db278ab9b2
commit 5f8fea8dc3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -983,7 +983,7 @@ The origin node:
A node:
- SHOULD monitor the funding transactions in the blockchain, to identify
channels that are being closed.
- if the funding output of a channel is being spent:
- if the funding output of a channel is spent and received 12 block confirmations:
- SHOULD be removed from the local network view AND be considered closed.
- if the announced node no longer has any associated open channels:
- MAY prune nodes added through `node_announcement` messages from their