| 13 | }; |
| 14 | |
| 15 | static inline bool node_id_eq(const struct node_id *a, |
| 16 | const struct node_id *b) |
| 17 | { |
| 18 | return memcmp(a->k, b->k, sizeof(a->k)) == 0; |
| 19 | } |
| 20 | |
| 21 | /* Is this actually a valid pubkey? Relatively expensive. */ |
| 22 | bool node_id_valid(const struct node_id *id); |
no outgoing calls