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

Function disable_gossip_stream

gossipd/seeker.c:193–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193static void disable_gossip_stream(struct seeker *seeker, struct peer *peer)
194{
195 u8 *msg;
196
197 status_peer_debug(&peer->id, "seeker: disabling gossip");
198
199 /* This is allowed even if they don't understand it (odd) */
200 msg = towire_gossip_timestamp_filter(NULL,
201 &chainparams->genesis_blockhash,
202 UINT32_MAX,
203 UINT32_MAX);
204 queue_peer_msg(peer, take(msg));
205}
206
207static void enable_gossip_stream(struct seeker *seeker, struct peer *peer)
208{

Callers 2

normal_gossip_startFunction · 0.85
maybe_rotate_gossipersFunction · 0.85

Calls 1

queue_peer_msgFunction · 0.70

Tested by

no test coverage detected