Files
lightning/lightningd
Rusty Russell 871d0b1d74 lightningd: simplify peer destruction.
We have to do a dance when we get a reconnect in openingd, because we
don't normally expect to free both owner and peer.  It's a layering
violation: freeing a peer should clean up the owner's pointer to it,
to avoid a double free, and we can eliminate this dance.

The free order is now different, and the test_reconnect_openingd was
overprecise.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-10-20 18:31:32 +02:00
..
2017-09-29 14:39:35 +02:00
2017-08-29 17:54:14 +02:00
2017-08-29 17:54:14 +02:00
2017-10-09 11:51:13 +10:30
2017-10-09 11:51:13 +10:30
2017-08-29 17:54:14 +02:00
2017-10-09 11:25:08 +10:30
2017-08-29 17:54:14 +02:00
2017-10-20 18:31:32 +02:00
2017-09-28 13:07:05 +09:30
2017-08-29 17:54:14 +02:00