| 40 | }; |
| 41 | |
| 42 | static bool contains_common_chain(struct bitcoin_blkid *chains) |
| 43 | { |
| 44 | for (size_t i = 0; i < tal_count(chains); i++) { |
| 45 | if (bitcoin_blkid_eq(&chains[i], &chainparams->genesis_blockhash)) |
| 46 | return true; |
| 47 | } |
| 48 | return false; |
| 49 | } |
| 50 | |
| 51 | /* Here in case we need to read another message. */ |
| 52 | static struct io_plan *read_init(struct io_conn *conn, struct early_peer *peer); |
no outgoing calls
no test coverage detected