Files
lightning/lightningd
Rusty Russell cca791d1cb routing: clean up channel public/active states.
1. If we have a channel_announcement, the channel is public, otherwise
   it's not.  Not all channels are public, as they can be local: those
   have a NULL channel_announcement.

2. If we don't have a channel_update, we know nothing about that half
   of the channel, and no other fields are valid.

3. We can tell if a half channel is disabled by the flags field directly.

Note that we never send halfchannels without an update over
gossip_getchannels_reply so that marshalling/unmarshalling can be
vastly simplified.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-05-10 21:35:53 +02:00
..
2017-10-20 18:31:32 +02:00
2018-04-15 17:42:24 +02:00
2018-05-05 17:55:10 +02:00
2018-05-05 17:55:10 +02:00
2018-05-09 03:47:53 +00:00
2018-05-10 02:28:44 +00:00
2018-05-05 17:55:10 +02:00
2018-02-16 13:08:29 +01:00