Skip to content

Commit

Permalink
connectd: force our own channel gossip to more peers
Browse files Browse the repository at this point in the history
Large nodes were not always getting their own channel gossip out
reliably.  The number of peers we spam our own channel gossip to
is limited to save large nodes on startup, but this should be
relaxed slightly to ensure propagation.

Changelog-Fixed: Own-channel gossip is broadcast to more peers on connect.
  • Loading branch information
endothermicdev authored and rustyrussell committed Nov 28, 2024
1 parent 11b294d commit d099f9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connectd/multiplex.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ static struct oneshot *gossip_stream_timer(struct peer *peer)
}

/* Statistically, how many peers to we tell about each channel? */
#define GOSSIP_SPAM_REDUNDANCY 5
#define GOSSIP_SPAM_REDUNDANCY 50

/* BOLT #7:
* A node:
Expand Down

0 comments on commit d099f9f

Please sign in to comment.