core-lightning/tests
Rusty Russell 654faa6174 lightningd: don't start if bitcoind is behind.
This leads to all sorts of problems; in particular it's incredibly
slow (days, weeks!)  if bitcoind is a long way back.  This also changes
the behaviour of a rescan argument referring to a future block: we will
also refuse to start in that case, which I think is the correct behavior.

We already ignore bitcoind if it goes backwards while we're running.

Also cover a false positive memleak.

Changelog-Fixed: If bitcoind goes backwards (e.g. reindex) refuse to start (unless forced with --rescan).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-11-21 05:18:29 +00:00
..
data pytest: test db upgrade. 2019-09-06 14:19:14 +02:00
plugins tests: test that we only use tlv onion when advertized. 2019-11-14 10:15:33 +01:00
benchmark.py py-tests: rename 'announce' to 'wait_for_announce' 2018-12-08 15:15:55 -08:00
conftest.py pytest: Pass result to fixtures and keep directories of failed tests 2018-08-07 00:54:19 +00:00
db.py pytest: Have the DB provider search for the postgres binary 2019-09-22 02:03:43 +00:00
fixtures.py pyln: Allow users to override the LightningNode class 2019-11-12 21:23:55 +01:00
requirements.txt change psycopg2 to psycopg2-binary 2019-11-01 18:54:57 +01:00
test_closing.py logging: remove spaces from subsystem names. 2019-11-18 04:50:22 +00:00
test_connection.py logging: remove spaces from subsystem names. 2019-11-18 04:50:22 +00:00
test_db.py lightningd: don't start if bitcoind is behind. 2019-11-21 05:18:29 +00:00
test_gossip.py devtools/gossipwith: change timeout to seconds. 2019-11-18 11:01:20 +01:00
test_invoices.py pytest: Mark some tests as skippable that are too bitcoin-specific 2019-10-03 04:32:57 +00:00
test_misc.py lightningd: don't start if bitcoind is behind. 2019-11-21 05:18:29 +00:00
test_pay.py log: make formatting more consistent. 2019-11-18 04:50:22 +00:00
test_plugin.py plugin: Pass the full raw_payload including realm to htlc_accepted 2019-11-18 12:00:15 +01:00
test_wallet.py pytest: add test for raising listtransactions after funding 2019-11-15 03:53:56 +00:00
utils.py features: set OPT_VAR_ONION (bit 9) iff EXPERIMENTAL_FEATURES 2019-11-14 10:15:33 +01:00