core-lightning/onchaind
niftynei f2e7e9d919 coin-moves: only log htlc_timeout pair for penalty txs
We cleanup our output tracking for timeout txs when the peer's
htlc_timeout self-expiry is hit; we'd also log its spend if happen to
see it get spent.

This is a bit of a race as they can't spend it until the locktime is
available. Hence the flakiness in tests that expected the `htlc_timeout`
to *not* be spent.

Instead, we only log an external's `htlc_timeout` spend in the case
where we also immediately register another output to track for it (only
happens when said htlc is stealable)

Fixes #5405
In-Collab-With: @ddustin
2022-07-15 22:16:27 +09:30
..
test hsmd: Add wallet index metadata to existing messages 2022-03-10 10:22:29 +10:30
Makefile hsmd: Add wallet index metadata to existing messages 2022-03-10 10:22:29 +10:30
onchain_types.h onchaind: recognize (and ignore) anchor outputs. 2020-08-14 11:51:14 +09:30
onchaind_wire.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
onchaind_wire.csv hsmd: Add wallet index metadata to existing messages 2022-03-10 10:22:29 +10:30
onchaind_wire.h closingd: convert to new wire generation style. 2020-08-25 12:53:13 +09:30
onchaind.c coin-moves: only log htlc_timeout pair for penalty txs 2022-07-15 22:16:27 +09:30