rgb-cln/onchaind
niftynei 0617690981 coin_mvt/bkpr: add "stealable" tag to stealable outputs
If we expect further events for an onchain output (because we can steal
it away from the 'external'/rightful owner), we mark them.

This prevents us from marking a channel as 'onchain-resolved' before
all events that we're interested in have actually hit the chain.

Case that this matters:
Peer publishes a (cheating) unilateral close and a timeout htlc (which
we can steal).
We then steal the timeout htlc.

W/o the stealable flag, we'd have marked the channel as resolved when
the peer published the timeout htlc, which is incorrect as we're still
waiting for the resolution of that timeout htlc (b/c we *can* steal it).
2022-07-28 12:08:18 +09:30
..
test coin_mvt/bkpr: add "stealable" tag to stealable outputs 2022-07-28 12:08:18 +09: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.c coin_mvt/bkpr: add "stealable" tag to stealable outputs 2022-07-28 12:08:18 +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