You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

6.6 KiB

1# Clients should not give a bad request but not the HSM's decision to crash.
2#include <bitcoin/chainparams.h>
3# Start the HSM.
4#include <common/bip32.h>
5#include <common/derive_basepoints.h>
6# Get the basepoints and funding key for this specific channel.
7# Return signature for a funding tx.
8#include <common/utxo.h>
9# Master asks the HSM to sign a node_announcement
10# Sign a withdrawal request
11# Sign an invoice
12# Master asks HSM to sign a commitment transaction.
13# of keys is derived differently...
14# Onchaind asks HSM to sign a local HTLC success or HTLC timeout tx.
15# Openingd/channeld asks HSM to sign the other sides' commitment tx.
16# channeld asks HSM to sign remote HTLC tx.
17# closingd asks HSM to sign mutual close tx.
18# Reply for all the above requests.
19# master -> hsmd: do you have a memleak?
20# channeld asks to check if claimed future commitment_secret is correct.