core-lightning/connectd
Rusty Russell a40f45af55 connectd: generate message for lightningd inside peer_connected().
We used to generate this in the caller, then save it in case we needed
to retry.  We're about to change the message we send to lightningd, so
we'll need to regenerate it every time; just hand all the extra args
into peer_connected() and we can generate the `connect_peer_connected`
msg there.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

1diff --git a/connectd/connectd.c b/connectd/connectd.c
index 94fe50b56..459c9ac63 100644
2019-06-04 01:29:39 +00:00
..
test libwally: update to 0.6.8. 2019-04-13 18:55:15 +02:00
connect_gossip_wire.csv gossipd: hand a gossip_store_fd to all subdaemons. 2019-05-13 05:16:18 +00:00
connect_wire.csv common/per_per_state: generalize lightningd/peer_comm Part 1 2019-06-04 01:29:39 +00:00
connectd.c connectd: generate message for lightningd inside peer_connected(). 2019-06-04 01:29:39 +00:00
connectd.h connectd: generate message for lightningd inside peer_connected(). 2019-06-04 01:29:39 +00:00
handshake.c libwally: update to 0.6.8. 2019-04-13 18:55:15 +02:00
handshake.h channeld: use pointer for shared secret. 2019-01-08 19:20:28 +01:00
Makefile common/per_per_state: generalize lightningd/peer_comm Part 1 2019-06-04 01:29:39 +00:00
netaddress.c wireaddr: update bolt version, remove 'padding' from addresses. 2018-10-28 23:51:05 +00:00
netaddress.h gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00
peer_exchange_initmsg.c connectd: generate message for lightningd inside peer_connected(). 2019-06-04 01:29:39 +00:00
peer_exchange_initmsg.h Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
tor.c connectd: handle IPv6 correctly. 2019-06-03 00:07:11 +00:00
tor.h connectd: rename 'struct reaching' to 'struct connecting'. 2018-09-28 04:14:28 +00:00
tor_autoservice.c ccan: update. 2018-10-19 00:53:00 +00:00
tor_autoservice.h gossipd: move files into connectd. 2018-07-25 02:13:52 +00:00