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:
Rusty Russell 2019-10-18 21:35:03 +10:30 committed by neil saitug
parent 4b33b50625
commit 78c9d69111

View file

@ -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)