rgb-cln/lightningd/gossip
Rusty Russell cd90c8408c lightningd/gossip: clean up channel resolve failure handling.
We were getting an assert "!secp256k1_fe_is_zero(&ge->x)", because
an all-zero pubkey is invalid.  We allow marshal/unmarshal of NULL for
now, and clean up the error handling.

1. Use status_failed if master sends a bad message.
2. Similarly, kill the gossip daemon if it gives a bad reply.
3. Use an array for returned pubkeys: 0 or 2.
4. Use type_to_string(trc, struct short_channel_id, &scid) for tracing.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-05-05 16:11:44 +09:30
..
Makefile lightningd: fix shachain to be 48-bits, with hack for legacy. 2017-04-01 23:59:46 +10:30
gossip.c lightningd/gossip: clean up channel resolve failure handling. 2017-05-05 16:11:44 +09:30
gossip_wire.csv lightningd/gossip: clean up channel resolve failure handling. 2017-05-05 16:11:44 +09:30