Rusty Russell
e0603d7221
channel: now we're always complete, fields don't have to be optional.
...
Now any struct channel is a genuine channel, the following fields are
always valid:
1. funding_txid: doesn't need to be a pointer.
2. our_msatoshi: doesn't need to be a pointer.
3. last_sig: doesn't need to be a pointer.
4. channel_info: doesn't need to be a pointer.
In addition, 'last_tx' is always valid.
The main effect is to remove a whole heap of branches from the wallet code.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2018-02-19 02:56:51 +00:00
..
2018-02-19 02:56:51 +00:00
2017-10-20 18:31:32 +02:00
2018-02-01 03:12:43 +00:00
2018-02-14 11:31:58 +01:00
2018-01-08 17:19:25 +01:00
2017-12-20 12:56:15 +01:00
2018-02-16 13:07:12 +01:00
2018-02-14 11:31:58 +01:00
2018-02-19 02:56:51 +00:00
2018-02-19 02:56:51 +00:00
2018-02-14 11:31:58 +01:00
2018-02-11 11:40:59 +01:00
2017-10-20 18:31:32 +02:00
2018-02-08 19:07:12 +01:00
2018-02-08 19:07:12 +01:00
2018-02-07 00:46:49 +00:00
2017-06-27 10:25:53 +09:30
2018-02-14 11:31:58 +01:00
2018-02-14 11:31:58 +01:00
2018-02-19 02:42:11 +00:00
2018-01-16 13:03:54 +01:00
2018-02-18 13:51:37 +01:00
2018-02-16 17:51:04 +01:00
2018-02-16 17:51:04 +01:00
2018-02-19 02:56:51 +00:00
2018-02-19 02:56:51 +00:00
2018-02-08 19:07:12 +01:00
2018-02-07 00:46:49 +00:00
2018-02-19 02:56:51 +00:00
2018-02-19 02:56:51 +00:00
2018-02-16 13:08:29 +01:00
2018-01-23 13:32:44 +01:00
2018-02-08 22:49:34 +01:00
2017-12-21 09:56:20 +00:00
2017-08-29 17:54:14 +02:00
2017-08-29 17:54:14 +02:00
2018-02-16 13:02:41 +01:00
2018-01-19 22:23:45 +00:00
2018-02-19 02:56:51 +00:00
2018-02-16 13:08:29 +01:00
2018-02-18 13:51:37 +01:00
2018-02-16 13:08:29 +01:00
2018-02-19 02:56:51 +00:00
2018-02-19 02:56:51 +00:00
2018-02-19 02:56:51 +00:00
2018-02-19 02:56:51 +00:00
2018-02-19 02:56:51 +00:00
2018-02-19 02:56:51 +00:00
2018-02-19 02:56:51 +00:00
2018-01-08 17:19:25 +01:00
2018-01-08 17:19:25 +01:00
2018-02-14 11:31:58 +01:00
2018-02-14 11:31:58 +01:00