2017-11-28 16:46:14 +01:00
|
|
|
#ifndef LIGHTNING_HSMD_CAPABILITIES_H
|
|
|
|
#define LIGHTNING_HSMD_CAPABILITIES_H
|
2021-12-04 12:23:56 +01:00
|
|
|
#include "config.h"
|
2017-11-28 16:46:14 +01:00
|
|
|
|
|
|
|
#define HSM_CAP_ECDH 1
|
|
|
|
#define HSM_CAP_SIGN_GOSSIP 2
|
2018-07-23 04:23:02 +02:00
|
|
|
#define HSM_CAP_SIGN_ONCHAIN_TX 4
|
2018-07-23 04:23:02 +02:00
|
|
|
#define HSM_CAP_COMMITMENT_POINT 8
|
2018-07-23 04:23:03 +02:00
|
|
|
#define HSM_CAP_SIGN_REMOTE_TX 16
|
2018-07-23 04:23:03 +02:00
|
|
|
#define HSM_CAP_SIGN_CLOSING_TX 32
|
2021-06-08 22:45:23 +02:00
|
|
|
#define HSM_CAP_SIGN_WILL_FUND_OFFER 64
|
2017-11-28 16:46:14 +01:00
|
|
|
|
2017-11-29 12:09:06 +01:00
|
|
|
#define HSM_CAP_MASTER 1024
|
2017-11-28 16:46:14 +01:00
|
|
|
#endif /* LIGHTNING_HSMD_CAPABILITIES_H */
|