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

Function begin_check_timer

gossipd/seeker.c:102–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100static void probe_some_random_scids(struct seeker *seeker);
101
102static void begin_check_timer(struct seeker *seeker)
103{
104 const u32 polltime = GOSSIP_SEEKER_INTERVAL(seeker);
105
106 seeker->check_timer = new_reltimer(&seeker->daemon->timers,
107 seeker,
108 time_from_sec(polltime),
109 seeker_check, seeker);
110}
111
112/* Set this peer as our random peer; return false if NULL. */
113static 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