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.
 
 
 
 
 
 

8.1 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# Which identity to use for requests
6#include <common/derive_basepoints.h>
7# Get the basepoints and funding key for this specific channel.
8# Return signature for a funding tx.
9#include <common/utxo.h>
10# Master asks the HSM to sign a node_announcement
11# Sign a withdrawal request
12# Sign an invoice
13# Master asks HSM to sign a commitment transaction.
14# of keys is derived differently...
15# Onchaind asks HSM to sign a local HTLC success or HTLC timeout tx.
16# Openingd/channeld asks HSM to sign the other sides' commitment tx.
17# channeld asks HSM to sign remote HTLC tx.
18# closingd asks HSM to sign mutual close tx.
19# Reply for all the above requests.
20# master -> hsmd: do you have a memleak?
21# channeld asks to check if claimed future commitment_secret is correct.
22# lightningd asks us to sign a string.