Browse Source

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>
travis-debug
Rusty Russell 5 years ago
committed by neil saitug
parent
commit
78c9d69111
  1. 4
      gossipd/seeker.c

4
gossipd/seeker.c

@ -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 */ /* We usually get a channel per block, so these cover a fair bit of ground */
static void probe_some_random_scids(struct seeker *seeker) 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) 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) static void check_firstpeer(struct seeker *seeker)

Loading…
Cancel
Save