rgb-cln/gossipd
Rusty Russell 584ee26200 gossipd: fix thinko in node_announcement address parsing which made us miss final address
'cursor < ser + max' isn't valid because we reduce 'max' as we go!  Effectively
we'll stop once we're past halfway, which can only happen with ipv6 + a torv2
address.

Ths fix is one-line, but we rename 'max' to 'len' which makes its purpose
clearer.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-08-06 19:33:46 +02:00
..
test gossipd: remove peer-related fields and wire messages. 2018-07-25 02:13:52 +00:00
Makefile sync_crypto_write/sync_crypto_read: just fail, don't return NULL. 2018-08-05 02:03:58 +00:00
broadcast.c gossip: Enable the consistency check only when really pedantic 2018-06-09 13:38:46 +02:00
broadcast.h gossip: Have the broadcast_state track its message count 2018-06-09 13:38:46 +02:00
gossip.c Allocate off ctx instead of tmpctx in encode_short_channel_ids_start(const tal_t *ctx) 2018-08-01 13:09:16 +09:30
gossip.h gossip/tor.c: new file for socks proxy code. 2018-05-10 02:28:44 +00:00
gossip_constants.h gossipd/gossip_constants.h: Single place for BOLT constants. 2018-05-19 15:52:56 -04:00
gossip_store.c Remove tal_len, use tal_count() or tal_bytelen(). 2018-07-30 11:31:17 +02:00
gossip_store.csv gossip_store: Save local_add_channel messages and replay them 2018-04-22 12:50:34 +02:00
gossip_store.h gossip: Have gossip_store annotate gossip messages 2018-06-09 13:38:46 +02:00
gossip_wire.csv gossipd: dev-suppress-gossip. 2018-07-27 14:12:00 +02:00
routing.c gossipd: fix thinko in node_announcement address parsing which made us miss final address 2018-08-06 19:33:46 +02:00
routing.h gossipd: add flag for locally disabling channel. 2018-07-27 14:12:00 +02:00