core-lightning/tests
Rusty Russell e1dbc0b12b wallet: clean reserved inputs on startup.
We reserve inputs when we're going to send a transaction, but we don't
unreserve them if we crash.  This is most graphically demonstrated by
the txprepare case, which makes it easier to trigger.

Instead, we should query bitcoind to see whether the tx made it out or
not, as we would do manually with dev-rescan-outputs.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-06-06 04:47:44 +00:00
..
data pytest: test starting with db corrupted by dangling peer. 2019-02-21 12:03:54 +01:00
plugins pytest: Add a test for htlc_accepted hook replay on startup 2019-06-04 00:27:15 +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 test: fix flakyness test_no_fee_estimate 2019-06-03 19:30:19 +02:00
test_db.py db: fix dangling peers on db upgrade. 2019-02-21 12:03:54 +01:00
test_gossip.py gossipd/gossip_store: keep count of deleted entries, don't use bs->count. 2019-06-04 01:29:39 +00:00
test_invoices.py bolt11: fix decoding and encoding of unknown fields. 2019-05-10 11:25:36 +00:00
test_misc.py pytest: move wallet tests into new file tests/test_wallet.py 2019-06-06 04:47:44 +00:00
test_pay.py pytest: Mark repeat offenders as flaky 2019-05-26 16:19:10 +02:00
test_plugin.py test: adds wait mempool to flaky tests 2019-06-06 00:04:59 +00:00
test_wallet.py wallet: clean reserved inputs on startup. 2019-06-06 04:47:44 +00:00
utils.py pytest: test that we unreserve txprepare inputs across shutdown/crash. 2019-06-06 04:47:44 +00:00