core-lightning/tests
lisa neigut 9caf20f636 coin moves: don't log coin moves in onchaind if we're replaying
On node start we replay onchaind's transactions from the database/from
our loaded htlc table.  To keep things tidy, we shouldn't notify the
ledger about these, so we wrap pretty much everything in a flag that
tells us whether or not this is a replay.

There's a very small corner case where dust transactions will get missed
if the node crashes after the htlc has been added to the database but
before we've successfully notified onchaind about it.

Notably, most of the obtrusive updates to onchaind wrappings are due to
the fact that we record dust (ignored outputs) before we receive
confirmation of its confirmation.
2020-05-12 15:46:58 +09:30
..
data pytest: test db upgrade. 2019-09-06 14:19:14 +02:00
plugins coin moves tests: save updates to disk 2020-05-12 15:46:58 +09:30
vectors pytest: Add tests for the sphinx onion generation and processing 2020-03-12 10:25:01 +10:30
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 pytest: Configure logging in a fixture to match stdout capturing 2020-03-24 09:52:33 +10:30
test_closing.py coin moves: don't log coin moves in onchaind if we're replaying 2020-05-12 15:46:58 +09:30
test_connection.py coin moves tests: push_msat and the wallet withdrawal 2020-05-12 15:46:58 +09:30
test_db.py pytest: Fix optimistic locking in valgrind - developer config 2020-01-13 08:55:32 +08:00
test_gossip.py gossipd: return channel_announcement features for listchannels. 2020-05-07 08:44:58 +09:30
test_invoices.py invoice: ignore dead-end heuristic on explicitly specified channels. 2020-04-14 14:13:26 -05:00
test_misc.py coin moves tests: push_msat and the wallet withdrawal 2020-05-12 15:46:58 +09:30
test_onion.py pytest: Actually make sure that the direcory exists 2020-03-24 09:52:33 +10:30
test_pay.py pay: respect maxfeepercent when choosing a shadow route 2020-05-05 14:10:42 +09:30
test_plugin.py coin_mvt: add integration tests for in-channel htlc movements 2020-05-12 15:46:58 +09:30
test_wallet.py wallet: allow to withdraw with unconfirmed utxos 2020-04-01 22:58:18 -05:00
utils.py coin_mvt: add integration tests for in-channel htlc movements 2020-05-12 15:46:58 +09:30