lightning/tests
niftynei d2c4d4aec2 coin_mvts: rewrite how onchain events are recorded, update tests
The old model of coin movements attempted to compute fees etc and log
amounts, not utxos. This is not as robust, as multi-party opens and dual
funded channels make it hard to account for fees etc correctly.

Instead, we move towards a 'utxo' view of the onchain events. Every
event is either the creation or 'destruction' of a utxo. For cases where
the value of the utxo is not (fully) debited/credited to our account, we
also record the output_value. E.g. channel closings spend a utxo who's
entire value we may not own.

Since we're now tracking UTXOs onchain, we can now do more complex
assertions about the onchain footprint of them. The integration tests
have been updated to now use more 'chain aware' assertions about the
ending state.
2021-12-28 04:42:42 +10:30
..
data inflights: save the whole psbt to the database 2021-05-24 12:17:48 +09:30
fuzz check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
plugins coin_mvts: rewrite how onchain events are recorded, update tests 2021-12-28 04:42:42 +10:30
vectors pytest: Add tests for the sphinx onion generation and processing 2020-03-12 10:25:01 +10:30
benchmark.py pytest: always provide payment_secret when making payments. 2021-07-14 14:38:00 -05:00
conftest.py tests: add marker for v1/v2 channel opens 2021-05-12 11:25:41 +09:30
db.py pytest: don't copy db to query it. 2021-08-26 12:44:02 +09:30
fixtures.py pytest: add schema support for JSON responses. 2021-05-27 20:28:49 +09:30
test_closing.py coin_mvts: rewrite how onchain events are recorded, update tests 2021-12-28 04:42:42 +10:30
test_connection.py coin_mvts: rewrite how onchain events are recorded, update tests 2021-12-28 04:42:42 +10:30
test_db.py wallet/db_sqlite3.c: Support direct replication of SQLITE3 backends. 2021-11-17 12:10:07 +10:30
test_gossip.py pytest: restore gossip advertizement tests for default port. 2021-12-14 13:41:31 +10:30
test_invoices.py Makefile: update spec version 2021-09-09 12:04:48 +09:30
test_misc.py coin_mvts: rewrite how onchain events are recorded, update tests 2021-12-28 04:42:42 +10:30
test_onion.py pytest: Actually make sure that the direcory exists 2020-03-24 09:52:33 +10:30
test_opening.py On Mac OS X a different error is raised on failed connection 2021-10-10 13:22:29 +02:00
test_pay.py testing: fix flake in test_fetchinvoice_3hop 2021-12-14 09:33:10 +10:30
test_plugin.py coin_mvts: rewrite how onchain events are recorded, update tests 2021-12-28 04:42:42 +10:30
test_wallet.py coin_mvts: rewrite how onchain events are recorded, update tests 2021-12-28 04:42:42 +10:30
utils.py coin_mvts: rewrite how onchain events are recorded, update tests 2021-12-28 04:42:42 +10:30