mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 08:34:20 +01:00
channel: Disable channels that are lost via a channel_update
Before exiting, `channeld` constructs and sends a `channel_update` marking the channel as disabled. This is the pro-active signalling that the channel may no longer be used.
This commit is contained in:
committed by
Rusty Russell
parent
c8da420a9d
commit
60a2227f0d
@@ -7,6 +7,7 @@
|
||||
#include <ccan/htable/htable_type.h>
|
||||
|
||||
#define ROUTING_MAX_HOPS 20
|
||||
#define ROUTING_FLAGS_DISABLED 2
|
||||
|
||||
struct node_connection {
|
||||
struct node *src, *dst;
|
||||
|
||||
Reference in New Issue
Block a user