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