rgb-cln/gossipd
Rusty Russell afab1f7b3c gossipd: handle onion errors internally.
As a general rule, lightningd shouldn't parse user packets.  We move the
parsing into gossipd, and have it respond only to permanent failures.

Note that we should *not* unconditionally remove a channel on
WIRE_INVALID_ONION_HMAC, as this can be triggered (and we do!) by
feeding sendpay a route with an incorrect pubkey.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-01-23 22:08:08 +01:00
..
test getroute: allow caller to specify maximum hops. 2019-01-15 12:01:38 +01:00
Makefile common: make funding_tx and withdraw_tx share UTXO code. 2018-12-06 23:11:51 +01:00
broadcast.c gossipd: wire up memleak detection. 2018-11-22 05:15:42 +00:00
broadcast.h gossipd: wire up memleak detection. 2018-11-22 05:15:42 +00:00
gossip_constants.h gossipd: split wire types into msgs from lightningd and msgs from per-peer daemons 2018-11-21 00:36:31 +00:00
gossip_peerd_wire.csv gossipd: split wire types into msgs from lightningd and msgs from per-peer daemons 2018-11-21 00:36:31 +00:00
gossip_store.c gossipd: split wire types into msgs from lightningd and msgs from per-peer daemons 2018-11-21 00:36:31 +00: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 gossipd: handle onion errors internally. 2019-01-23 22:08:08 +01:00
gossipd.c gossipd: handle onion errors internally. 2019-01-23 22:08:08 +01:00
routing.c gossipd: handle onion errors internally. 2019-01-23 22:08:08 +01:00
routing.h gossipd: handle onion errors internally. 2019-01-23 22:08:08 +01:00