| 31 | }; |
| 32 | |
| 33 | static bool contains_common_chain(struct bitcoin_blkid *chains) |
| 34 | { |
| 35 | for (size_t i = 0; i < tal_count(chains); i++) { |
| 36 | if (bitcoin_blkid_eq(&chains[i], &chainparams->genesis_blockhash)) |
| 37 | return true; |
| 38 | } |
| 39 | return false; |
| 40 | } |
| 41 | |
| 42 | /* Here in case we need to read another message. */ |
| 43 | static struct io_plan *read_init(struct io_conn *conn, struct early_peer *peer); |
no outgoing calls
no test coverage detected