core-lightning/gossipd
Rusty Russell 363564301f gossipd: be more rigorous in handling peer messages vs. daemon requests.
Messages from a peer may be invalid in many ways: we send an error
packet in that case.  Rather than internally calling peer_error,
however, we make it explicit by having the handle_ functions return
NULL or an error packet.

Messages from the daemon itself should not be invalid: we log an error
and close the fd to them if it is.  Previously we logged an error but
didn't kill them.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-11-21 00:36:31 +00:00
..
test opts: Split early from non-early args so plugins can register theirs 2018-11-13 00:44:50 +01:00
broadcast.c broadcast: don't leak in broadcast_del. 2018-08-24 19:54:32 +02:00
broadcast.h gossip: Have the broadcast_state track its message count 2018-06-09 13:38:46 +02:00
gossip_constants.h gossipd: parse and respect optional htlc_maximum_msat 2018-10-09 23:22:52 +00:00
gossip_store.c Revert "gossipd: handle premature node_announcements in the store." 2018-09-21 17:56:15 +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 gossipd: invalidate old gossip_stores. 2018-09-21 17:56:15 +02:00
gossip_wire.csv BOLT7: broadcast htlc_maximum_msat in `channel_update s 2018-10-16 03:32:27 +00:00
gossipd.c gossipd: be more rigorous in handling peer messages vs. daemon requests. 2018-11-21 00:36:31 +00:00
Makefile hsmd: rename hsm_client_wire_csv to hsm_wire.csv 2018-09-20 09:49:39 +02:00
routing.c gossipd: be more rigorous in handling peer messages vs. daemon requests. 2018-11-21 00:36:31 +00:00
routing.h gossipd: be more rigorous in handling peer messages vs. daemon requests. 2018-11-21 00:36:31 +00:00