Rusty Russell
b592d6fd8f
lightningd: fix race where we do rescan before all plugins finish init.
...
The symptom (under heavy load and valgrind) in test_plugin_command:
lightningd: common/json_stream.c:237: json_stream_output_: Assertion `!js->reader' failed.
This is because we try to call `getmanifest` again on `pay` which has not yet
responded to init.
The minimal fix for this is to keep proper state, so we can tell the
difference between "not yet called getmanifest" and "not yet finished
init".
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2020-05-05 13:45:17 +09:30
..
2020-05-04 19:18:05 +02:00
2017-10-20 18:31:32 +02:00
2020-05-05 13:45:17 +09:30
2020-03-30 20:17:18 +10:30
2020-04-24 14:21:27 -05:00
2020-03-30 20:17:18 +10:30
2020-05-04 10:22:26 +09:30
2020-02-10 15:59:26 +10:30
2019-06-30 16:41:30 +09:30
2020-05-04 10:22:26 +09:30
2020-05-04 10:22:26 +09:30
2020-05-04 10:22:26 +09:30
2019-06-04 01:29:39 +00:00
2020-04-03 13:13:21 +10:30
2020-04-03 13:13:21 +10:30
2020-04-14 12:51:18 +09:30
2019-09-25 04:01:56 +00:00
2020-04-14 12:51:18 +09:30
2020-04-14 12:51:18 +09:30
2020-04-04 16:08:49 +10:30
2019-04-09 12:37:16 -07:00
2020-04-14 12:51:18 +09:30
2020-04-14 12:51:18 +09:30
2020-04-16 09:39:49 +09:30
2020-02-25 11:12:12 +10:30
2020-05-04 19:18:05 +02:00
2019-12-12 15:03:53 +01:00
2019-07-24 16:16:53 +02:00
2019-05-31 17:57:10 +02:00
2020-03-30 20:17:18 +10:30
2020-02-04 13:24:32 +10:30
2020-04-21 13:02:42 -05:00
2020-02-04 13:24:32 +10:30
2020-04-20 07:48:32 +09:30
2020-05-04 10:22:26 +09:30
2019-11-18 04:50:22 +00:00
2019-11-18 04:50:22 +00:00
2019-11-23 22:42:34 +00:00
2019-11-18 04:50:22 +00:00
2020-04-14 12:51:18 +09:30
2019-12-12 22:16:03 +01:00
2019-02-07 20:33:50 +00:00
2020-05-04 19:18:05 +02:00
2020-05-04 19:18:05 +02:00
2020-05-04 10:22:26 +09:30
2018-04-25 14:33:38 +02:00
2020-04-16 09:40:39 +09:30
2020-04-02 14:32:38 +10:30
2020-05-04 10:22:26 +09:30
2020-01-28 23:50:52 +01:00
2020-04-03 13:13:21 +10:30
2019-11-23 22:42:34 +00:00
2020-05-04 18:56:33 +09:30
2020-05-04 18:56:33 +09:30
2020-05-04 10:22:26 +09:30
2020-04-03 13:13:21 +10:30
2020-05-04 18:56:33 +09:30
2020-04-16 09:39:49 +09:30
2019-07-16 06:10:58 +00:00
2018-09-14 22:11:23 +02:00
2020-05-05 13:45:17 +09:30
2019-09-30 00:20:16 +00:00
2020-04-16 09:40:39 +09:30
2020-04-16 09:40:39 +09:30
2020-05-05 13:45:17 +09:30
2020-05-05 13:45:17 +09:30
2020-02-27 14:16:16 +10:30
2020-02-04 10:44:13 +10:30
2019-11-18 04:50:22 +00:00
2020-01-02 16:56:42 +01:00
2019-06-28 03:31:43 +00:00