core-lightning/tests
Rusty Russell 10c503b4b4 gossip_store: clean up a truncated store.
We might have channel_announcements which have no channel_update: normally
these don't get written into the store until there is one, but if the
store was truncated it can happen.  We then get upset on compaction, since
we don't have an in-memory representation of the channel_announcement.

Similarly, we leave the node_announcement pending until after that
channel_announcement, leading to a similar case.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-06-15 10:52:05 +02: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 funding: rename fundchannel_continue -> _complete 2019-06-12 02:22:43 +00:00
test_db.py db: fix dangling peers on db upgrade. 2019-02-21 12:03:54 +01:00
test_gossip.py gossip_store: clean up a truncated store. 2019-06-15 10:52:05 +02: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