mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
56349ab008
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> |
||
---|---|---|
.. | ||
test | ||
broadcast.c | ||
broadcast.h | ||
gossip_wire.csv | ||
gossip.c | ||
handshake.c | ||
handshake.h | ||
Makefile | ||
routing.c | ||
routing.h |