core-lightning/gossipd
Rusty Russell 56349ab008 routing: work with struct routing_channel not struct node_connection.
To remove the redundant fields in `struct node_connection` (ie. 'src'
and 'dst' pointers) we need to deal with `struct routing_channel`.
This means we get a series of channels, from which the direction is
implied, so it's a bit more complex to decode.  We add a helper
`other_node` to help with this, and since we're the only user of
`connection_to` we change that function to return the index.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-03-04 23:25:53 +01:00
..
test routing: work with struct routing_channel not struct node_connection. 2018-03-04 23:25:53 +01:00
broadcast.c broadcast: Added option to replace a specific index 2018-02-05 18:28:39 +00:00
broadcast.h broadcast: Added option to replace a specific index 2018-02-05 18:28:39 +00:00
gossip_wire.csv gossip_local_add_channel: remove unused flags field. 2018-03-03 19:29:35 +01:00
gossip.c routing: move struct node_connection into struct routing_channel. 2018-03-03 19:29:35 +01:00
handshake.c gossipd: use status levels for unusual reporting. 2018-02-28 12:48:45 +01:00
handshake.h ipaddr: rename to wireaddr. 2017-10-26 21:01:09 +00:00
Makefile status: generate messages rather than marshal/unmarshal manually. 2018-02-08 19:07:12 +01:00
routing.c routing: work with struct routing_channel not struct node_connection. 2018-03-04 23:25:53 +01:00
routing.h routing: work with struct routing_channel not struct node_connection. 2018-03-04 23:25:53 +01:00