core-lightning/gossipd
Christian Decker f3c234529e gossip: Cache txout query failures
If we asked `bitcoind` for a txout and it failed we were not storing that
information anywhere, meaning that when we see the channel announcement the
next time we'd be reaching out to `lightningd` and `bitcoind` again, just to
see it fail again. This adds an in-memory cache for these failures so we can
just ignore these the next time around.

Fixes #2503

Signed-off-by: Christian Decker <decker.christian@gmail.com>
2019-04-01 23:54:19 +00:00
..
test test: fix thinko in gossipd/test/run-bench-find_route.c 2019-03-05 11:42:43 +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 daemons: use amount_msat/amount_sat in all internal wire transfers. 2019-02-21 08:01:37 +00:00
gossip_store.c daemons: use amount_msat/amount_sat in all internal wire transfers. 2019-02-21 08:01:37 +00: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: invalidate old gossip_stores. 2018-09-21 17:56:15 +02:00
gossip_wire.csv gossip: Bump gossip_getnodes_reply result count to be u32 as well 2019-03-27 12:48:52 +01:00
gossipd.c tools/generate-wire: use amount_msat / amount_sat for peer protocol. 2019-02-21 08:01:37 +00:00
Makefile common/amount: new types struct amount_msat and struct amount_sat. 2019-02-21 00:44:57 +00:00
routing.c gossip: Cache txout query failures 2019-04-01 23:54:19 +00:00
routing.h gossip: Cache txout query failures 2019-04-01 23:54:19 +00:00