| 40 | bool allow_localhost UNNEEDED) |
| 41 | { return false; } |
| 42 | struct io_plan *peer_connected(struct io_conn *conn UNNEEDED, |
| 43 | struct daemon *daemon UNNEEDED, |
| 44 | const struct node_id *id UNNEEDED, |
| 45 | const struct wireaddr_internal *addr UNNEEDED, |
| 46 | const struct wireaddr *remote_addr UNNEEDED, |
| 47 | struct crypto_state *cs UNNEEDED, |
| 48 | const u8 *their_features TAKES UNNEEDED, |
| 49 | enum is_websocket is_websocket UNNEEDED, |
| 50 | struct timemono starttime, |
| 51 | bool incoming UNNEEDED) |
| 52 | { if (taken(their_features)) |
| 53 | tal_steal(tmpctx, their_features); |
| 54 | return io_close(conn); |
| 55 | } |
| 56 | /* MOCKS END */ |
| 57 | |
| 58 | /* These functions are only called when `peer_init_received()` |