Files
lightning/lightningd
Rusty Russell f6495d3310 lightningd/peer_control: don't create peer struct until we've connected.
We currently create a peer struct, then complete handshake to find out
who it is.  This means we have a half-formed peer, and worse: if it's
a reconnect we get two peers the same.

Add an explicit 'struct connection' for the handshake phase, and
construct a 'struct peer' once that's done.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-05-25 14:24:47 +09:30
..
2017-05-09 11:43:35 +09:30
2017-05-09 11:43:35 +09:30
2017-05-12 12:59:09 +02:00
2017-05-09 11:43:35 +09:30
2017-05-09 11:43:35 +09:30
2017-02-24 16:22:56 +10:30
2017-02-24 16:22:56 +10:30
2017-05-09 11:43:35 +09:30
2017-05-09 11:43:35 +09:30
2017-05-09 11:43:35 +09:30
2017-05-09 11:43:35 +09:30
2017-05-09 11:43:35 +09:30
2017-04-03 06:07:56 +09:30
2017-04-25 22:00:28 +02:00
2017-05-09 11:43:35 +09:30
2017-05-09 11:43:35 +09:30