Skip to content

Commit d099f9f

Browse files
endothermicdevrustyrussell
authored andcommitted
connectd: force our own channel gossip to more peers
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.
1 parent 11b294d commit d099f9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

connectd/multiplex.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ static struct oneshot *gossip_stream_timer(struct peer *peer)
212212
}
213213

214214
/* Statistically, how many peers to we tell about each channel? */
215-
#define GOSSIP_SPAM_REDUNDANCY 5
215+
#define GOSSIP_SPAM_REDUNDANCY 50
216216

217217
/* BOLT #7:
218218
* A node:

0 commit comments

Comments
 (0)