core-lightning/tests
Rusty Russell 8928f0b5f9 gossipd: remove gossip entirely if we hit a problem on load.
The crashes in #2750 are mostly caused by us trying to partially truncate
the store.  The simplest fix for release is to discard the whole thing if
we detect a problem.

This is a workaround: it'd be far nicer to try to recover.

Fixes: #2750
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-06-21 22:03:35 +00:00
..
data pytest: test starting with db corrupted by dangling peer. 2019-02-21 12:03:54 +01:00
plugins tests: add plugin for simple invoice delay. 2019-06-11 23:19:11 +00:00
benchmark.py py-tests: rename 'announce' to 'wait_for_announce' 2018-12-08 15:15:55 -08:00
btcproxy.py pytest: create proper mock failures. 2019-01-29 04:50:01 +00:00
conftest.py pytest: Pass result to fixtures and keep directories of failed tests 2018-08-07 00:54:19 +00:00
fixtures.py pytest: catch more gossip-related errors. 2019-06-03 11:04:25 -07:00
requirements.txt pytest: Update test dependencies to latest version 2019-01-29 00:50:09 +00:00
test_closing.py htlc: Replay unprocessed HTLCs loaded from the DB 2019-06-04 00:27:15 +00:00
test_connection.py connect test: use wait_for_log in test_funding_external_wallet 2019-06-18 06:54:21 +00:00
test_db.py db: fix dangling peers on db upgrade. 2019-02-21 12:03:54 +01:00
test_gossip.py gossipd: remove gossip entirely if we hit a problem on load. 2019-06-21 22:03:35 +00:00
test_invoices.py bolt11: fix decoding and encoding of unknown fields. 2019-05-10 11:25:36 +00:00
test_misc.py lightningd: use ccan/json_out. 2019-06-12 02:00:15 +00:00
test_pay.py plugins/pay: don't retry routehint if it contains already-eliminated channel. 2019-06-12 02:00:15 +00:00
test_plugin.py tests: add plugin for simple invoice delay. 2019-06-11 23:19:11 +00:00
test_wallet.py wallet: clean reserved inputs on startup. 2019-06-06 04:47:44 +00:00
utils.py tests: default all addresses to bech32 2019-06-12 02:22:43 +00:00