mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 22:45:27 +01:00
We had a number of entry points into the HSM, all with different behavior, so this is my attempt at unifying the way we handle clients. Every client, except master, now takes the same path entry point to the HSM and we use capability bit flags to indicate whether the client is allowed to execute a set of operations. Signed-off-by: Christian Decker <decker.christian@gmail.com>
7 lines
174 B
C
7 lines
174 B
C
#ifndef LIGHTNING_HSMD_CAPABILITIES_H
|
|
#define LIGHTNING_HSMD_CAPABILITIES_H
|
|
|
|
#define HSM_CAP_ECDH 1
|
|
#define HSM_CAP_SIGN_GOSSIP 2
|
|
|
|
#endif /* LIGHTNING_HSMD_CAPABILITIES_H */
|