| 216 | } |
| 217 | |
| 218 | static void disable_gossip_stream(struct seeker *seeker, struct peer *peer) |
| 219 | { |
| 220 | u8 *msg; |
| 221 | |
| 222 | status_peer_debug(&peer->id, "seeker: disabling gossip"); |
| 223 | |
| 224 | /* This is allowed even if they don't understand it (odd) */ |
| 225 | msg = towire_gossip_timestamp_filter(NULL, |
| 226 | &chainparams->genesis_blockhash, |
| 227 | UINT32_MAX, |
| 228 | UINT32_MAX); |
| 229 | queue_peer_msg(peer->daemon, &peer->id, take(msg)); |
| 230 | } |
| 231 | |
| 232 | static void enable_gossip_stream(struct seeker *seeker, struct peer *peer, |
| 233 | bool ask_for_all) |
no test coverage detected