~ Helper to append a wireaddr to an array if wireaddr_internal */
| 168 | |
| 169 | /*~ Helper to append a wireaddr to an array if wireaddr_internal */ |
| 170 | static void append_addr(struct wireaddr_internal **wireaddrs, |
| 171 | const struct wireaddr *addr) |
| 172 | { |
| 173 | struct wireaddr_internal addrint; |
| 174 | addrint.itype = ADDR_INTERNAL_WIREADDR; |
| 175 | addrint.u.wireaddr.is_websocket = false; |
| 176 | addrint.u.wireaddr.wireaddr = *addr; |
| 177 | tal_arr_expand(wireaddrs, addrint); |
| 178 | } |
| 179 | |
| 180 | /*~ Nodes (can) advertize one or more addresses in their node_announcement: |
| 181 | * these are lower priority than ones explicitly supplied to the `connect` |
no outgoing calls
no test coverage detected