core-lightning/wallet/test
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
..
.gitignore wallet: move tests into test/ dir like other unit tests. 2017-12-13 22:46:10 +01:00
Makefile common: use struct onionreply. 2020-01-23 16:17:42 +10:30
run-db.c db: Track the data_version in the database 2020-01-02 14:12:59 -06:00
run-wallet.c coin moves: don't log coin moves in onchaind if we're replaying 2020-05-12 15:46:58 +09:30
test_utils.c Add enable-autotor-v2 config variable 2019-09-28 00:31:02 +02:00
test_utils.h fix: a pr2444 introduced valgrind complaint 2019-03-14 16:51:18 +01:00