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-10-10 20:17:37 +02:00
2017-08-29 17:54:14 +02:00
2017-09-29 14:39:35 +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-09-29 14:39:35 +02:00
2017-08-29 17:54:14 +02:00
2017-08-29 17:54:14 +02:00
2017-08-29 17:54:14 +02:00
2017-08-29 17:54:14 +02:00
2017-10-20 18:31:32 +02:00
2017-08-29 17:54:14 +02:00
2017-09-03 02:01:54 +02:00
2017-09-03 02:01:54 +02:00
2017-08-29 17:54:14 +02:00
2017-06-27 10:25:53 +09:30
2017-10-09 11:51:13 +10:30
2017-10-09 11:51:13 +10:30
2017-10-09 11:51:13 +10:30
2017-10-09 11:51:13 +10:30
2017-09-29 10:06:56 +09:30
2017-08-29 17:54:14 +02:00
2017-10-10 23:59:34 +00:00
2017-10-09 11:25:08 +10:30
2017-09-29 10:20:08 +09:30
2017-09-15 13:44:34 +02:00
2017-10-20 18:31:32 +02:00
2017-08-29 17:54:14 +02:00
2017-08-29 17:54:14 +02:00
2017-10-20 18:31:32 +02:00
2017-08-29 17:54:14 +02:00
2017-08-29 17:54:14 +02:00
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-09-29 10:06:56 +09:30
2017-06-23 09:29:42 +09:30
2017-10-20 18:31:32 +02:00
2017-10-10 23:59:34 +00:00
2017-10-11 11:54:50 +02:00
2017-10-11 11:54:50 +02:00
2017-09-28 13:07:05 +09:30
2017-10-20 18:31:32 +02:00
2017-09-28 15:37:43 +02:00
2017-09-28 13:07:05 +09:30
2017-08-29 17:54:14 +02:00