Rusty Russell
b0278d7152
peer: fix maximum htlc value when we disconnect.
...
If we send an HTLC #1 , then get disconnected before a confirm, we will
forget it. But we've incremented peer->htlc_id_counter, so when we offer
it again we'll make it HTLC #2 , which is non-consecutive.
To make this clear, we always start htlc ids at 0 now. That revealed
the bugs handled in the previous patch.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2016-08-28 12:51:57 +09:30
..
2016-01-22 06:37:13 +10:30
2016-08-26 15:44:04 +09:30
2016-01-22 06:41:47 +10:30
2016-08-18 14:23:46 +09:30
2016-07-07 13:36:39 +09:30
2016-08-18 14:25:14 +09:30
2016-08-18 14:23:46 +09:30
2016-08-28 09:34:47 +09:30
2016-08-28 09:34:47 +09:30
2016-08-18 14:25:13 +09:30
2016-08-18 14:25:13 +09:30
2016-01-22 06:41:48 +10:30
2016-01-22 06:41:48 +10:30
2016-08-18 14:25:14 +09:30
2016-08-18 14:25:14 +09:30
2016-08-18 14:23:46 +09:30
2016-08-18 14:23:46 +09:30
2016-08-28 09:34:47 +09:30
2016-08-26 15:31:19 +09:30
2016-01-22 06:41:49 +10:30
2016-01-22 06:41:49 +10:30
2016-08-26 15:31:19 +09:30
2016-08-26 15:31:19 +09:30
2016-08-26 15:31:19 +09:30
2016-08-18 14:25:13 +09:30
2016-08-18 14:25:14 +09:30
2016-08-18 14:25:14 +09:30
2016-05-26 15:25:24 +09:30
2016-05-26 15:25:24 +09:30
2016-08-26 15:33:47 +09:30
2016-08-26 15:33:47 +09:30
2016-05-26 15:25:25 +09:30
2016-08-18 14:25:14 +09:30
2016-08-18 14:25:14 +09:30
2016-08-17 14:46:42 +09:30
2016-08-17 14:46:42 +09:30
2016-08-26 15:31:19 +09:30
2016-08-18 14:25:14 +09:30
2016-08-18 14:25:14 +09:30
2016-07-01 12:00:17 +09:30
2016-07-01 12:00:17 +09:30
2016-08-18 14:25:14 +09:30
2016-08-18 14:25:14 +09:30
2016-08-18 14:23:45 +09:30
2016-08-18 14:23:45 +09:30
2016-08-26 15:33:30 +09:30
2016-08-26 15:33:30 +09:30
2016-07-01 12:00:17 +09:30
2016-07-01 12:00:17 +09:30
2016-07-01 11:59:15 +09:30
2016-07-01 11:59:15 +09:30
2016-08-28 12:51:57 +09:30
2016-08-26 15:31:19 +09:30
2016-07-01 12:00:17 +09:30
2016-07-01 12:00:17 +09:30
2016-08-26 15:39:35 +09:30
2016-08-18 14:25:14 +09:30
2016-08-18 14:25:13 +09:30
2016-08-18 14:25:13 +09:30
2016-05-10 06:26:09 +09:30
2016-05-10 06:26:09 +09:30
2016-08-18 14:25:14 +09:30
2016-08-18 14:25:13 +09:30
2016-07-01 12:00:17 +09:30
2016-07-01 12:00:17 +09:30