rgb-cln/connectd
Rusty Russell d241bd762c connectd: don't use gossip_getnodes_entry.
gossip_getnodes_entry was used by gossipd for reporting nodes, and for
reporting peers.  But the local_features field is only available for peers,
and most other fields are only available from node_announcement.

Note that the connectd change actually means we get less information
about peers: gossipd used to do the node lookup for peers and include the
node_announcement information if it had it.

Since generate_wire.py can't create arrays-of-arrays, we add a 'struct
peer_features' to encapsulate the two feature arrays for each peer, and
for convenience we add it to lightningd/gossip_msg.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-07-25 02:13:52 +00:00
..
test gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
Makefile gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
connect.c connectd: don't use gossip_getnodes_entry. 2018-07-25 02:13:52 +00:00
connect.h connectd: new daemon to handle connections. 2018-07-25 02:13:52 +00:00
connect_gossip_wire.csv gossipd: provide connectd with address resolution. 2018-07-25 02:13:52 +00:00
connect_wire.csv connectd: don't use gossip_getnodes_entry. 2018-07-25 02:13:52 +00:00
handshake.c gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
handshake.h gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
netaddress.c gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
netaddress.h gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
tor.c gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
tor.h gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
tor_autoservice.c gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
tor_autoservice.h gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00