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.4 KiB

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