core-lightning/onchaind
lisa neigut 6ee6cdc280 coin moves: record their attempted cheat (and our handling thereof)
For cheats, we do a little bit of weird accounting. First we 'update'
our on-ledger balance to be the entirety of the channel's balance. Then,
as outputs get resolved, we record the fees and outputs as withdrawals
from this amount.

It's possible that they might successfully 'cheat', in which case we
record those as 'penalty' but debits (not credits).
2020-05-12 15:46:58 +09:30
..
test coin moves: add handling for mutual closure case 2020-05-12 15:46:58 +09:30
Makefile coin moves: record onchain movements after they've been resolved 2020-05-12 15:46:58 +09:30
onchain_types.h coin moves: record their attempted cheat (and our handling thereof) 2020-05-12 15:46:58 +09:30
onchain_wire.c onchaind: include htlc id in htlc_stub so we agree on what HTLC we're closing. 2018-10-23 16:55:35 +02:00
onchain_wire.csv coin moves: pass our currently known channel balance to onchaind 2020-05-12 15:46:58 +09:30
onchain_wire.h onchaind: include htlc id in htlc_stub so we agree on what HTLC we're closing. 2018-10-23 16:55:35 +02:00
onchaind.c coin moves: record their attempted cheat (and our handling thereof) 2020-05-12 15:46:58 +09:30