mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
4ffda340d3
And turn "" includes into full-path (which makes it easier to put config.h first, and finds some cases check-includes.sh missed previously). config.h sets _GNU_SOURCE which really needs to be done before any '#includes': we mainly got away with it with glibc, but other platforms like Alpine may have stricter requirements. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
15 lines
400 B
C
15 lines
400 B
C
#ifndef LIGHTNING_HSMD_CAPABILITIES_H
|
|
#define LIGHTNING_HSMD_CAPABILITIES_H
|
|
#include "config.h"
|
|
|
|
#define HSM_CAP_ECDH 1
|
|
#define HSM_CAP_SIGN_GOSSIP 2
|
|
#define HSM_CAP_SIGN_ONCHAIN_TX 4
|
|
#define HSM_CAP_COMMITMENT_POINT 8
|
|
#define HSM_CAP_SIGN_REMOTE_TX 16
|
|
#define HSM_CAP_SIGN_CLOSING_TX 32
|
|
#define HSM_CAP_SIGN_WILL_FUND_OFFER 64
|
|
|
|
#define HSM_CAP_MASTER 1024
|
|
#endif /* LIGHTNING_HSMD_CAPABILITIES_H */
|