lightning/common/scb_wire.csv
Aditya Sharma fe02d2f1c5 scb_wire: Define new subtype 'modern_scb_chan' with 'scb_tlvs'
We define a new subtype 'modern_scb_chan' and a new tlvtype 'scb_tlvs' which includes
all the relevant information to create a penalty transaction when the peer tries to cheat.

Key Changes:
 - Rename the old format to 'legacy_scb_chan' and define a new type 'modern_scb_chan'
 - Include TLVs to 'modern_scb_chan'
 - Create a new msgtype 'static_chan_backup_with_tlvs'
 - Modify 'struct channel' to include 'struct modern_scb_chan'
 - Add these two types to 'varsize_types' in generate.py
2025-02-22 11:51:54 -06:00

1.9 KiB

1#include <bitcoin/tx.h>
2#include <ccan/crypto/shachain/shachain.h>
3#include <common/amount.h>
4#include <common/channel_id.h>
5#include <common/channel_type.h>
6#include <common/derive_basepoints.h>
7#include <common/htlc_wire.h>
8#include <common/node_id.h>
9#include <common/wireaddr.h>
10# legacy_scb_chan stores min. info required to sweep the peer's force close.