Files
palladum-lightning/hsmd/hsmd_wire.csv
Rusty Russell daf1560eb4 hsmd: make our private utxo type, to ensure binary compatibility.
I'm about to update our utxo type, but Christian spotted that this is
part of the ABI for the hsm.  So make that a private "hsm_utxo" type,
to insulate it from changes.

In particular, the HSM versions only contain the fields that the
hsm cares about, and the wire format is consistent (even though that
*did* include some of those fields, they are now dummies).

In the long term, this should be removed from the ABI: once we
no longer have "close_info" utxos, this information should already be
in the PSBT.

I tested this hadn't accidentally changed the wire format by disabling
version checks and using an old hsmd with the altered daemons and
running the test suite.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2025-05-06 12:27:53 +09:30

19 KiB

1# Clients should not give a bad request but not the HSM's decision to crash.
2msgtype,hsmstatus_client_bad_request,1000
3msgdata,hsmstatus_client_bad_request,id,node_id,
4msgdata,hsmstatus_client_bad_request,description,wirestring,
5msgdata,hsmstatus_client_bad_request,len,u16,
6msgdata,hsmstatus_client_bad_request,msg,u8,len
7# We use this to set dev flags (before init!). It's a TLV, so we can
8# extend easily. Normal TLV rules apply: ignore odd fields you don't
9# understand.
10msgtype,hsmd_dev_preinit,99
11msgdata,hsmd_dev_preinit,tlvs,hsmd_dev_preinit_tlvs,
12tlvtype,hsmd_dev_preinit_tlvs,fail_preapprove,1
13tlvdata,hsmd_dev_preinit_tlvs,fail_preapprove,fail,bool,
14tlvtype,hsmd_dev_preinit_tlvs,no_preapprove_check,3
15tlvdata,hsmd_dev_preinit_tlvs,no_preapprove_check,disable,bool,
16#include <bitcoin/chainparams.h>
17# Start the HSM.
18msgtype,hsmd_init,11
19msgdata,hsmd_init,bip32_key_version,bip32_key_version,
20msgdata,hsmd_init,chainparams,chainparams,
21msgdata,hsmd_init,hsm_encryption_key,?secret,
22msgdata,hsmd_init,dev_force_privkey,?privkey,
23msgdata,hsmd_init,dev_force_bip32_seed,?secret,
24msgdata,hsmd_init,dev_force_channel_secrets,?secrets,
25msgdata,hsmd_init,dev_force_channel_secrets_shaseed,?sha256,
26msgdata,hsmd_init,hsm_wire_min_version,u32,
27msgdata,hsmd_init,hsm_wire_max_version,u32,
28#include <common/bip32.h>
29# Sorry: I should have put version in v2 :(
30msgtype,hsmd_init_reply_v4,114
31# This gets upgraded when the wire protocol changes in incompatible
32# ways:
33msgdata,hsmd_init_reply_v4,hsm_version,u32,
34# Capabilities, by convention are message numbers, indicating
35# that the HSM supports you sending this message.
36msgdata,hsmd_init_reply_v4,num_hsm_capabilities,u16,
37msgdata,hsmd_init_reply_v4,hsm_capabilities,u32,num_hsm_capabilities
38msgdata,hsmd_init_reply_v4,node_id,node_id,
39msgdata,hsmd_init_reply_v4,bip32,ext_key,
40msgdata,hsmd_init_reply_v4,bolt12,pubkey,
41# Declare a new channel.
42msgtype,hsmd_new_channel,30
43msgdata,hsmd_new_channel,id,node_id,
44msgdata,hsmd_new_channel,dbid,u64,
45# No value returned.
46msgtype,hsmd_new_channel_reply,130
47# Get a new HSM FD, with the specified permissions
48msgtype,hsmd_client_hsmfd,9
49# Which identity to use for requests
50msgdata,hsmd_client_hsmfd,id,node_id,
51# Database id for this client, if any.
52msgdata,hsmd_client_hsmfd,dbid,u64,
53msgdata,hsmd_client_hsmfd,permissions,u64,
54# No content, just an fd.
55msgtype,hsmd_client_hsmfd_reply,109
56#include <common/derive_basepoints.h>
57# Get the basepoints and funding key for this specific channel.
58msgtype,hsmd_get_channel_basepoints,10
59msgdata,hsmd_get_channel_basepoints,peerid,node_id,
60msgdata,hsmd_get_channel_basepoints,dbid,u64,
61msgtype,hsmd_get_channel_basepoints_reply,110
62msgdata,hsmd_get_channel_basepoints_reply,basepoints,basepoints,
63msgdata,hsmd_get_channel_basepoints_reply,funding_pubkey,pubkey,
64#include <common/channel_type.h>
65# Provide channel parameters.
66msgtype,hsmd_setup_channel,31
67msgdata,hsmd_setup_channel,is_outbound,bool,
68msgdata,hsmd_setup_channel,channel_value,amount_sat,
69msgdata,hsmd_setup_channel,push_value,amount_msat,
70msgdata,hsmd_setup_channel,funding_txid,bitcoin_txid,
71msgdata,hsmd_setup_channel,funding_txout,u16,
72msgdata,hsmd_setup_channel,local_to_self_delay,u16,
73msgdata,hsmd_setup_channel,local_shutdown_script_len,u16,
74msgdata,hsmd_setup_channel,local_shutdown_script,u8,local_shutdown_script_len
75msgdata,hsmd_setup_channel,local_shutdown_wallet_index,?u32,
76msgdata,hsmd_setup_channel,remote_basepoints,basepoints,
77msgdata,hsmd_setup_channel,remote_funding_pubkey,pubkey,
78msgdata,hsmd_setup_channel,remote_to_self_delay,u16,
79msgdata,hsmd_setup_channel,remote_shutdown_script_len,u16,
80msgdata,hsmd_setup_channel,remote_shutdown_script,u8,remote_shutdown_script_len
81msgdata,hsmd_setup_channel,channel_type,channel_type,
82# No value returned.,
83msgtype,hsmd_setup_channel_reply,131
84# check if the signer agrees that a funding candidate outpoint is buried
85msgtype,hsmd_check_outpoint,32
86msgdata,hsmd_check_outpoint,funding_txid,bitcoin_txid,
87msgdata,hsmd_check_outpoint,funding_txout,u16,
88msgtype,hsmd_check_outpoint_reply,132
89msgdata,hsmd_check_outpoint_reply,is_buried,bool,
90# change the funding/splice state to locked
91msgtype,hsmd_lock_outpoint,37
92msgdata,hsmd_lock_outpoint,funding_txid,bitcoin_txid,
93msgdata,hsmd_lock_outpoint,funding_txout,u16,
94# No value returned.
95msgtype,hsmd_lock_outpoint_reply,137
96# Forget channel.
97msgtype,hsmd_forget_channel,34
98msgdata,hsmd_forget_channel,id,node_id,
99msgdata,hsmd_forget_channel,dbid,u64,
100# No value returned.
101msgtype,hsmd_forget_channel_reply,134
102# Return signature for a funding tx.
103#include <hsmd/hsm_utxo.h>
104# Master asks the HSM to sign a node_announcement
105msgtype,hsmd_node_announcement_sig_req,6
106msgdata,hsmd_node_announcement_sig_req,annlen,u16,
107msgdata,hsmd_node_announcement_sig_req,announcement,u8,annlen
108msgtype,hsmd_node_announcement_sig_reply,106
109msgdata,hsmd_node_announcement_sig_reply,signature,secp256k1_ecdsa_signature,
110# Sign a withdrawal request
111#include <bitcoin/psbt.h>
112msgtype,hsmd_sign_withdrawal,7
113msgdata,hsmd_sign_withdrawal,num_inputs,u16,
114msgdata,hsmd_sign_withdrawal,inputs,hsm_utxo,num_inputs
115msgdata,hsmd_sign_withdrawal,psbt,wally_psbt,
116msgtype,hsmd_sign_withdrawal_reply,107
117msgdata,hsmd_sign_withdrawal_reply,psbt,wally_psbt,
118# Sign an invoice
119msgtype,hsmd_sign_invoice,8
120msgdata,hsmd_sign_invoice,len,u16,
121msgdata,hsmd_sign_invoice,u5bytes,u8,len
122msgdata,hsmd_sign_invoice,hrplen,u16,
123msgdata,hsmd_sign_invoice,hrp,u8,hrplen
124msgtype,hsmd_sign_invoice_reply,108
125msgdata,hsmd_sign_invoice_reply,sig,secp256k1_ecdsa_recoverable_signature,
126# Preapprove an invoice for payment
127msgtype,hsmd_preapprove_invoice,38
128msgdata,hsmd_preapprove_invoice,invstring,wirestring,
129# Result is true if approved, declined if false
130msgtype,hsmd_preapprove_invoice_reply,138
131msgdata,hsmd_preapprove_invoice_reply,approved,bool,
132# Preapprove a keysend payment
133msgtype,hsmd_preapprove_keysend,39
134msgdata,hsmd_preapprove_keysend,destination,node_id,
135msgdata,hsmd_preapprove_keysend,payment_hash,sha256,
136msgdata,hsmd_preapprove_keysend,amount_msat,amount_msat,
137# Result is true if approved, declined if false
138msgtype,hsmd_preapprove_keysend_reply,139
139msgdata,hsmd_preapprove_keysend_reply,approved,bool,
140msgtype,hsmd_preapprove_invoice_check,51
141msgdata,hsmd_preapprove_invoice_check,invstring,wirestring,
142msgdata,hsmd_preapprove_invoice_check,check_only,bool,
143# Result is true if approved, declined if false
144msgtype,hsmd_preapprove_invoice_check_reply,151
145msgdata,hsmd_preapprove_invoice_check_reply,approved,bool,
146msgtype,hsmd_preapprove_keysend_check,52
147msgdata,hsmd_preapprove_keysend_check,destination,node_id,
148msgdata,hsmd_preapprove_keysend_check,payment_hash,sha256,
149msgdata,hsmd_preapprove_keysend_check,amount_msat,amount_msat,
150msgdata,hsmd_preapprove_keysend_check,check_only,bool,
151# Result is true if approved, declined if false
152msgtype,hsmd_preapprove_keysend_check_reply,152
153msgdata,hsmd_preapprove_keysend_check_reply,approved,bool,
154# Give me ECDH(node-id-secret,point)
155msgtype,hsmd_ecdh_req,1
156msgdata,hsmd_ecdh_req,point,pubkey,
157msgtype,hsmd_ecdh_resp,100
158msgdata,hsmd_ecdh_resp,ss,secret,
159msgtype,hsmd_cannouncement_sig_req,2
160msgdata,hsmd_cannouncement_sig_req,calen,u16,
161msgdata,hsmd_cannouncement_sig_req,ca,u8,calen
162msgtype,hsmd_cannouncement_sig_reply,102
163msgdata,hsmd_cannouncement_sig_reply,node_signature,secp256k1_ecdsa_signature,
164msgdata,hsmd_cannouncement_sig_reply,bitcoin_signature,secp256k1_ecdsa_signature,
165msgtype,hsmd_sign_any_cannouncement_req,4
166msgdata,hsmd_sign_any_cannouncement_req,calen,u16,
167msgdata,hsmd_sign_any_cannouncement_req,ca,u8,calen
168msgdata,hsmd_sign_any_cannouncement_req,peerid,node_id,
169msgdata,hsmd_sign_any_cannouncement_req,channel_dbid,u64,
170
171msgtype,hsmd_sign_any_cannouncement_reply,104
172msgdata,hsmd_sign_any_cannouncement_reply,node_signature,secp256k1_ecdsa_signature,
173msgdata,hsmd_sign_any_cannouncement_reply,bitcoin_signature,secp256k1_ecdsa_signature,
174msgtype,hsmd_cupdate_sig_req,3
175msgdata,hsmd_cupdate_sig_req,culen,u16,
176msgdata,hsmd_cupdate_sig_req,cu,u8,culen
177msgtype,hsmd_cupdate_sig_reply,103
178msgdata,hsmd_cupdate_sig_reply,culen,u16,
179msgdata,hsmd_cupdate_sig_reply,cu,u8,culen
180# Master asks HSM to sign a commitment transaction.
181msgtype,hsmd_sign_commitment_tx,5
182msgdata,hsmd_sign_commitment_tx,peer_id,node_id,
183msgdata,hsmd_sign_commitment_tx,channel_dbid,u64,
184msgdata,hsmd_sign_commitment_tx,tx,bitcoin_tx,
185msgdata,hsmd_sign_commitment_tx,remote_funding_key,pubkey,
186msgdata,hsmd_sign_commitment_tx,commit_num,u64,
187msgtype,hsmd_sign_commitment_tx_reply,105
188msgdata,hsmd_sign_commitment_tx_reply,sig,bitcoin_signature,
189# Validate the counterparty's commitment signatures.
190msgtype,hsmd_validate_commitment_tx,35
191msgdata,hsmd_validate_commitment_tx,tx,bitcoin_tx,
192msgdata,hsmd_validate_commitment_tx,num_htlcs,u16,
193msgdata,hsmd_validate_commitment_tx,htlcs,simple_htlc,num_htlcs
194msgdata,hsmd_validate_commitment_tx,commit_num,u64,
195msgdata,hsmd_validate_commitment_tx,feerate,u32,
196msgdata,hsmd_validate_commitment_tx,sig,bitcoin_signature,
197msgdata,hsmd_validate_commitment_tx,num_htlc_sigs,u16,
198msgdata,hsmd_validate_commitment_tx,htlc_sigs,bitcoin_signature,num_htlc_sigs
199msgtype,hsmd_validate_commitment_tx_reply,135
200msgdata,hsmd_validate_commitment_tx_reply,old_commitment_secret,?secret,
201msgdata,hsmd_validate_commitment_tx_reply,next_per_commitment_point,pubkey,
202# Revoke our local commitment, returns the revocation secret and next point
203msgtype,hsmd_revoke_commitment_tx,40
204msgdata,hsmd_revoke_commitment_tx,commit_num,u64,
205msgtype,hsmd_revoke_commitment_tx_reply,140
206msgdata,hsmd_revoke_commitment_tx_reply,old_commitment_secret,secret,
207msgdata,hsmd_revoke_commitment_tx_reply,next_per_commitment_point,pubkey,
208# Vaidate the counterparty's revocation secret
209msgtype,hsmd_validate_revocation,36
210msgdata,hsmd_validate_revocation,revoke_num,u64,
211msgdata,hsmd_validate_revocation,per_commitment_secret,secret,
212# No value returned.
213msgtype,hsmd_validate_revocation_reply,136
214# Onchaind asks HSM to sign a spend to-us. Four variants, since each set
215# of keys is derived differently...
216msgtype,hsmd_sign_delayed_payment_to_us,12
217msgdata,hsmd_sign_delayed_payment_to_us,commit_num,u64,
218msgdata,hsmd_sign_delayed_payment_to_us,tx,bitcoin_tx,
219msgdata,hsmd_sign_delayed_payment_to_us,wscript_len,u16,
220msgdata,hsmd_sign_delayed_payment_to_us,wscript,u8,wscript_len
221msgtype,hsmd_sign_remote_htlc_to_us,13
222msgdata,hsmd_sign_remote_htlc_to_us,remote_per_commitment_point,pubkey,
223msgdata,hsmd_sign_remote_htlc_to_us,tx,bitcoin_tx,
224msgdata,hsmd_sign_remote_htlc_to_us,wscript_len,u16,
225msgdata,hsmd_sign_remote_htlc_to_us,wscript,u8,wscript_len
226msgdata,hsmd_sign_remote_htlc_to_us,option_anchor_outputs,bool,
227msgtype,hsmd_sign_penalty_to_us,14
228msgdata,hsmd_sign_penalty_to_us,revocation_secret,secret,
229msgdata,hsmd_sign_penalty_to_us,tx,bitcoin_tx,
230msgdata,hsmd_sign_penalty_to_us,wscript_len,u16,
231msgdata,hsmd_sign_penalty_to_us,wscript,u8,wscript_len
232# Onchaind asks HSM to sign a local HTLC success or HTLC timeout tx.
233msgtype,hsmd_sign_local_htlc_tx,16
234msgdata,hsmd_sign_local_htlc_tx,commit_num,u64,
235msgdata,hsmd_sign_local_htlc_tx,tx,bitcoin_tx,
236msgdata,hsmd_sign_local_htlc_tx,wscript_len,u16,
237msgdata,hsmd_sign_local_htlc_tx,wscript,u8,wscript_len
238msgdata,hsmd_sign_local_htlc_tx,option_anchor_outputs,bool,
239# Openingd/channeld asks HSM to sign the other sides' commitment tx.
240#include <common/htlc_wire.h>
241msgtype,hsmd_sign_remote_commitment_tx,19
242msgdata,hsmd_sign_remote_commitment_tx,tx,bitcoin_tx,
243msgdata,hsmd_sign_remote_commitment_tx,remote_funding_key,pubkey,
244msgdata,hsmd_sign_remote_commitment_tx,remote_per_commit,pubkey,
245msgdata,hsmd_sign_remote_commitment_tx,option_static_remotekey,bool,
246msgdata,hsmd_sign_remote_commitment_tx,commit_num,u64,
247msgdata,hsmd_sign_remote_commitment_tx,num_htlcs,u16,
248msgdata,hsmd_sign_remote_commitment_tx,htlcs,simple_htlc,num_htlcs
249msgdata,hsmd_sign_remote_commitment_tx,feerate,u32,
250# channeld asks HSM to sign remote HTLC tx.
251msgtype,hsmd_sign_remote_htlc_tx,20
252msgdata,hsmd_sign_remote_htlc_tx,tx,bitcoin_tx,
253msgdata,hsmd_sign_remote_htlc_tx,len,u16,
254msgdata,hsmd_sign_remote_htlc_tx,wscript,u8,len
255msgdata,hsmd_sign_remote_htlc_tx,remote_per_commit_point,pubkey,
256msgdata,hsmd_sign_remote_htlc_tx,option_anchor_outputs,bool,
257# closingd asks HSM to sign mutual close tx.
258msgtype,hsmd_sign_mutual_close_tx,21
259msgdata,hsmd_sign_mutual_close_tx,tx,bitcoin_tx,
260msgdata,hsmd_sign_mutual_close_tx,remote_funding_key,pubkey,
261# channeld asks HSM to sign splice tx.
262msgtype,hsmd_sign_splice_tx,29
263msgdata,hsmd_sign_splice_tx,tx,bitcoin_tx,
264msgdata,hsmd_sign_splice_tx,remote_funding_key,pubkey,
265msgdata,hsmd_sign_splice_tx,input_index,u32,
266# Reply for all the above requests.
267msgtype,hsmd_sign_tx_reply,112
268msgdata,hsmd_sign_tx_reply,sig,bitcoin_signature,
269# Openingd/channeld/onchaind asks for Nth per_commitment_point
270# Prior to HSM_VERSION 6 we will return an old_commitment_secret
271msgtype,hsmd_get_per_commitment_point,18
272msgdata,hsmd_get_per_commitment_point,n,u64,
273# IMPORTANT - Beginning HSM_VERSION 6 we never return an old_commitment_secret
274msgtype,hsmd_get_per_commitment_point_reply,118
275msgdata,hsmd_get_per_commitment_point_reply,per_commitment_point,pubkey,
276msgdata,hsmd_get_per_commitment_point_reply,old_commitment_secret,?secret,
277# master -> hsmd: do you have a memleak?
278msgtype,hsmd_dev_memleak,33
279msgtype,hsmd_dev_memleak_reply,133
280msgdata,hsmd_dev_memleak_reply,leak,bool,
281# channeld asks to check if claimed future commitment_secret is correct.
282msgtype,hsmd_check_future_secret,22
283msgdata,hsmd_check_future_secret,n,u64,
284msgdata,hsmd_check_future_secret,commitment_secret,secret,
285msgtype,hsmd_check_future_secret_reply,122
286msgdata,hsmd_check_future_secret_reply,correct,bool,
287# lightningd asks us to sign a string.
288msgtype,hsmd_sign_message,23
289msgdata,hsmd_sign_message,len,u16,
290msgdata,hsmd_sign_message,msg,u8,len
291msgtype,hsmd_sign_message_reply,123
292msgdata,hsmd_sign_message_reply,sig,secp256k1_ecdsa_recoverable_signature,
293# lightningd needs to get a scriptPubkey for a utxo with closeinfo
294msgtype,hsmd_get_output_scriptpubkey,24
295msgdata,hsmd_get_output_scriptpubkey,channel_id,u64,
296msgdata,hsmd_get_output_scriptpubkey,peer_id,node_id,
297msgdata,hsmd_get_output_scriptpubkey,commitment_point,?pubkey,
298msgtype,hsmd_get_output_scriptpubkey_reply,124
299msgdata,hsmd_get_output_scriptpubkey_reply,script_len,u16,
300msgdata,hsmd_get_output_scriptpubkey_reply,script,u8,script_len
301# Sign a bolt12-style merkle hash
302msgtype,hsmd_sign_bolt12,25
303msgdata,hsmd_sign_bolt12,messagename,wirestring,
304msgdata,hsmd_sign_bolt12,fieldname,wirestring,
305msgdata,hsmd_sign_bolt12,merkleroot,sha256,
306# This is for invreq payer_id (temporary keys)
307msgdata,hsmd_sign_bolt12,publictweaklen,u16,
308msgdata,hsmd_sign_bolt12,publictweak,u8,publictweaklen
309msgtype,hsmd_sign_bolt12_reply,125
310msgdata,hsmd_sign_bolt12_reply,sig,bip340sig,
311# Sign a bolt12-style merkle hash (modern)
312msgtype,hsmd_sign_bolt12_2,41
313msgdata,hsmd_sign_bolt12_2,messagename,wirestring,
314msgdata,hsmd_sign_bolt12_2,fieldname,wirestring,
315msgdata,hsmd_sign_bolt12_2,merkleroot,sha256,
316# This is for signing with an alias (temporary key), used if *publictweak* not empty.
317# derive_secret with info, then tweak privkey with SHA256(derived_secret || publictweak).
318msgdata,hsmd_sign_bolt12_2,infolen,u16,
319msgdata,hsmd_sign_bolt12_2,info,u8,infolen
320msgdata,hsmd_sign_bolt12_2,publictweaklen,u16,
321msgdata,hsmd_sign_bolt12_2,publictweak,u8,publictweaklen
322msgtype,hsmd_sign_bolt12_2_reply,141
323msgdata,hsmd_sign_bolt12_2_reply,sig,bip340sig,
324# Sign an option_will_fund offer hash
325msgtype,hsmd_sign_option_will_fund_offer,26
326msgdata,hsmd_sign_option_will_fund_offer,funding_pubkey,pubkey,
327msgdata,hsmd_sign_option_will_fund_offer,blockheight,u32,
328msgdata,hsmd_sign_option_will_fund_offer,channel_fee_base_max_msat,u32,
329msgdata,hsmd_sign_option_will_fund_offer,channel_fee_proportional_basis_max,u16,
330msgtype,hsmd_sign_option_will_fund_offer_reply,126
331msgdata,hsmd_sign_option_will_fund_offer_reply,rsig,secp256k1_ecdsa_signature,
332# Derive pseudorandom secret
333msgtype,hsmd_derive_secret,27
334msgdata,hsmd_derive_secret,len,u16,
335msgdata,hsmd_derive_secret,info,u8,len
336# Reply with the derived secret
337msgtype,hsmd_derive_secret_reply,127
338msgdata,hsmd_derive_secret_reply,secret,secret,
339# Sanity check this pubkey derivation is correct (unhardened only)
340msgtype,hsmd_check_pubkey,28
341msgdata,hsmd_check_pubkey,index,u32,
342msgdata,hsmd_check_pubkey,pubkey,pubkey,
343# Reply
344msgtype,hsmd_check_pubkey_reply,128
345msgdata,hsmd_check_pubkey_reply,ok,bool,
346msgtype,hsmd_sign_anchorspend,147
347msgdata,hsmd_sign_anchorspend,peerid,node_id,
348msgdata,hsmd_sign_anchorspend,channel_dbid,u64,
349msgdata,hsmd_sign_anchorspend,num_inputs,u16,
350msgdata,hsmd_sign_anchorspend,inputs,hsm_utxo,num_inputs
351msgdata,hsmd_sign_anchorspend,psbt,wally_psbt,
352msgtype,hsmd_sign_anchorspend_reply,148
353msgdata,hsmd_sign_anchorspend_reply,psbt,wally_psbt,
354# These are where lightningd asks for signatures on onchaind's behalf.
355msgtype,hsmd_sign_any_delayed_payment_to_us,142
356msgdata,hsmd_sign_any_delayed_payment_to_us,commit_num,u64,
357msgdata,hsmd_sign_any_delayed_payment_to_us,tx,bitcoin_tx,
358msgdata,hsmd_sign_any_delayed_payment_to_us,wscript_len,u16,
359msgdata,hsmd_sign_any_delayed_payment_to_us,wscript,u8,wscript_len
360msgdata,hsmd_sign_any_delayed_payment_to_us,input,u32,
361msgdata,hsmd_sign_any_delayed_payment_to_us,peerid,node_id,
362msgdata,hsmd_sign_any_delayed_payment_to_us,channel_dbid,u64,
363msgtype,hsmd_sign_any_remote_htlc_to_us,143
364msgdata,hsmd_sign_any_remote_htlc_to_us,remote_per_commitment_point,pubkey,
365msgdata,hsmd_sign_any_remote_htlc_to_us,tx,bitcoin_tx,
366msgdata,hsmd_sign_any_remote_htlc_to_us,wscript_len,u16,
367msgdata,hsmd_sign_any_remote_htlc_to_us,wscript,u8,wscript_len
368msgdata,hsmd_sign_any_remote_htlc_to_us,option_anchor_outputs,bool,
369msgdata,hsmd_sign_any_remote_htlc_to_us,input,u32,
370msgdata,hsmd_sign_any_remote_htlc_to_us,peerid,node_id,
371msgdata,hsmd_sign_any_remote_htlc_to_us,channel_dbid,u64,
372msgtype,hsmd_sign_any_penalty_to_us,144
373msgdata,hsmd_sign_any_penalty_to_us,revocation_secret,secret,
374msgdata,hsmd_sign_any_penalty_to_us,tx,bitcoin_tx,
375msgdata,hsmd_sign_any_penalty_to_us,wscript_len,u16,
376msgdata,hsmd_sign_any_penalty_to_us,wscript,u8,wscript_len
377msgdata,hsmd_sign_any_penalty_to_us,input,u32,
378msgdata,hsmd_sign_any_penalty_to_us,peerid,node_id,
379msgdata,hsmd_sign_any_penalty_to_us,channel_dbid,u64,
380msgtype,hsmd_sign_any_local_htlc_tx,146
381msgdata,hsmd_sign_any_local_htlc_tx,commit_num,u64,
382msgdata,hsmd_sign_any_local_htlc_tx,tx,bitcoin_tx,
383msgdata,hsmd_sign_any_local_htlc_tx,wscript_len,u16,
384msgdata,hsmd_sign_any_local_htlc_tx,wscript,u8,wscript_len
385msgdata,hsmd_sign_any_local_htlc_tx,option_anchor_outputs,bool,
386msgdata,hsmd_sign_any_local_htlc_tx,input,u32,
387msgdata,hsmd_sign_any_local_htlc_tx,peerid,node_id,
388msgdata,hsmd_sign_any_local_htlc_tx,channel_dbid,u64,
389msgtype,hsmd_sign_htlc_tx_mingle,149
390msgdata,hsmd_sign_htlc_tx_mingle,peerid,node_id,
391msgdata,hsmd_sign_htlc_tx_mingle,channel_dbid,u64,
392msgdata,hsmd_sign_htlc_tx_mingle,num_inputs,u16,
393msgdata,hsmd_sign_htlc_tx_mingle,inputs,hsm_utxo,num_inputs
394msgdata,hsmd_sign_htlc_tx_mingle,psbt,wally_psbt,
395msgtype,hsmd_sign_htlc_tx_mingle_reply,150
396msgdata,hsmd_sign_htlc_tx_mingle_reply,psbt,wally_psbt,