core-lightning/gossipd
Rusty Russell da884751e8 gossipd: make routing_add_channel_update discard old timestamps.
This is currently done higher up, in handle_channel_update(), but
that's one reason why handle_channel_update() has to do a channel
lookup.  Moving the check down means handle_channel_update() can do a
minimal "get node id for this channel" so it can check the signature.

This helps, because the chan lookup semantics are changing in the next
few patches.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-04-11 18:31:34 -07:00
..
test gossipd: embed broadcast information into each structure. 2019-04-11 18:31:34 -07:00
broadcast.c broadcast: don't keep payload pointer. 2019-04-11 18:31:34 -07:00
broadcast.h broadcast: don't keep payload pointer. 2019-04-11 18:31:34 -07:00
gossip_constants.h Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
gossip_peerd_wire.csv Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
gossip_store.c broadcast: don't keep payload pointer. 2019-04-11 18:31:34 -07:00
gossip_store.csv daemons: use amount_msat/amount_sat in all internal wire transfers. 2019-02-21 08:01:37 +00:00
gossip_store.h gossipd: gossip_store_get() to load a single store entry. 2019-04-11 18:31:34 -07:00
gossip_wire.csv Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
gossipd.c broadcast: don't keep payload pointer. 2019-04-11 18:31:34 -07:00
Makefile Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
routing.c gossipd: make routing_add_channel_update discard old timestamps. 2019-04-11 18:31:34 -07:00
routing.h gossipd: use file offset within store as broadcast index. 2019-04-11 18:31:34 -07:00