core-lightning/wire/extracted_peer-shutdown-wrong_funding.patch
Rusty Russell 30145209a9 protocol: add TLV for shutdown message, use 100 as "wrong_funding" outpoint.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-03-16 13:08:40 +10:30

14 lines
487 B
Diff

--- wire/peer_wire.csv
+++ wire/peer_wire.csv
@@ -90,6 +90,10 @@ msgtype,shutdown,38
msgdata,shutdown,channel_id,channel_id,
msgdata,shutdown,len,u16,
msgdata,shutdown,scriptpubkey,byte,len
+msgdata,shutdown,tlvs,shutdown_tlvs,
+tlvtype,shutdown_tlvs,wrong_funding,100
+tlvdata,shutdown_tlvs,wrong_funding,txid,sha256,
+tlvdata,shutdown_tlvs,wrong_funding,outnum,u32,
msgtype,closing_signed,39
msgdata,closing_signed,channel_id,channel_id,
msgdata,closing_signed,fee_satoshis,u64,