Skip to content

Commit

Permalink
gossip: delay considering a channel edge deleted for 12-blocks (#1004)
Browse files Browse the repository at this point in the history
Allows us time to propagate a splice update (new channel_announcement)

Suggested-By: @t-bast
Co-Authored: @ddustin
  • Loading branch information
niftynei authored Aug 15, 2022
1 parent 6fee63f commit 47d325c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion 07-routing-gossip.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ The receiving node:
- otherwise:
- SHOULD store this `channel_announcement`.
- once its funding output has been spent OR reorganized out:
- SHOULD forget a channel.
- SHOULD forget a channel after a 12-block delay.

### Rationale

Expand All @@ -249,6 +249,10 @@ optional) features will have _odd_ feature bits, while incompatible features
will have _even_ feature bits
(["It's OK to be odd!"](00-introduction.md#glossary-and-terminology-guide)).

A delay of 12-blocks is used when forgetting a channel on funding output spend
as to permit a new `channel_announcement` to propagate which indicates this
channel was spliced.

## The `node_announcement` Message

This gossip message allows a node to indicate extra data associated with it, in
Expand Down

0 comments on commit 47d325c

Please sign in to comment.