core-lightning/onchaind/test
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
..
Makefile common/autodata: use instead of ccan/autodata 2021-09-21 18:04:43 +02:00
onchainstress-data.gz onchaind: handle static_remotekey thresholds. 2021-06-04 16:13:08 +09:30
run-grind_feerate-bug.c coin_mvts: rewrite how onchain events are recorded, update tests 2021-12-28 04:42:42 +10:30
run-grind_feerate.c coin_mvts: rewrite how onchain events are recorded, update tests 2021-12-28 04:42:42 +10:30