mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-03 21:24:22 +01:00
gossipd: makes probe larger.
These are fairly cheap, and it's important to make sure we're not missing gossip. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
neil saitug
parent
4b33b50625
commit
78c9d69111
@@ -745,12 +745,12 @@ static void probe_random_scids(struct seeker *seeker, size_t num_blocks)
|
||||
/* We usually get a channel per block, so these cover a fair bit of ground */
|
||||
static void probe_some_random_scids(struct seeker *seeker)
|
||||
{
|
||||
return probe_random_scids(seeker, 64);
|
||||
return probe_random_scids(seeker, 1024);
|
||||
}
|
||||
|
||||
static void probe_many_random_scids(struct seeker *seeker)
|
||||
{
|
||||
return probe_random_scids(seeker, 1008);
|
||||
return probe_random_scids(seeker, 10000);
|
||||
}
|
||||
|
||||
static void check_firstpeer(struct seeker *seeker)
|
||||
|
||||
Reference in New Issue
Block a user