mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-15 11:59:16 +01:00
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.
This commit is contained in:
parent
11b294d18e
commit
d099f9fe5b
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue