MCPcopy Create free account
hub / github.com/ElementsProject/lightning / begin_check_timer

Function begin_check_timer

gossipd/seeker.c:85–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83static void probe_some_random_scids(struct seeker *seeker);
84
85static void begin_check_timer(struct seeker *seeker)
86{
87 const u32 polltime = GOSSIP_SEEKER_INTERVAL(seeker);
88
89 seeker->check_timer = new_reltimer(&seeker->daemon->timers,
90 seeker,
91 time_from_sec(polltime),
92 seeker_check, seeker);
93}
94
95/* Set this peer as our random peer; return false if NULL. */
96static bool selected_peer(struct seeker *seeker, struct peer *peer)

Callers 2

new_seekerFunction · 0.85
seeker_checkFunction · 0.85

Calls 1

time_from_secFunction · 0.85

Tested by

no test coverage detected