mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 09:34:24 +01:00
gossipd: increase number of gossiping peers.
We only chose 3 peers to gossip with us (down from 8 last release). There's no justification for this number, or reason to believe that it is sufficient to keep us in sync. Be more conservative for now; we can always decrease it later once we have more data. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
neil saitug
parent
41d8308b68
commit
e462bd4de0
@@ -77,7 +77,7 @@ struct seeker {
|
||||
bool unknown_nodes;
|
||||
|
||||
/* Peers we've asked to stream us gossip */
|
||||
struct peer *gossiper_softref[3];
|
||||
struct peer *gossiper_softref[5];
|
||||
|
||||
/* A peer that told us about unknown gossip. */
|
||||
struct peer *preferred_peer_softref;
|
||||
|
||||
Reference in New Issue
Block a user