core-lightning/wallet/test
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
..
.gitignore wallet: move tests into test/ dir like other unit tests. 2017-12-13 22:46:10 +01:00
Makefile lightningd: keep local_basepoints and local_funding_pubkey. 2018-07-24 00:40:01 +02:00
run-db.c Force the use of the POSIX C locale for all commands and their subprocesses 2018-04-27 14:02:59 +02:00
run-wallet.c connectd: don't use gossip_getnodes_entry. 2018-07-25 02:13:52 +00:00
test_utils.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00