If the two nodes[] are id1 and id2, which index would id1 be? */
| 39 | |
| 40 | /* If the two nodes[] are id1 and id2, which index would id1 be? */ |
| 41 | static inline int node_id_idx(const struct node_id *id1, |
| 42 | const struct node_id *id2) |
| 43 | { |
| 44 | return node_id_cmp(id1, id2) > 0; |
| 45 | } |
| 46 | |
| 47 | /* marshal/unmarshal functions */ |
| 48 | void towire_node_id(u8 **pptr, const struct node_id *id); |