Logo
Explore Help
Sign In
davide/palladum-lightning
1
0
Fork 0
You've already forked palladum-lightning
Code Issues Pull Requests Actions 5 Packages Projects Releases Wiki Activity
Files
7d95dbbd0a320e9f515db1775f2fc94de7c4cbfc
palladum-lightning/hsmd/capabilities.h

9 lines
202 B
C
Raw Normal View History

hsm: Unifying the client creation and adding client capabilities 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>
2017-11-28 16:46:14 +01:00
#ifndef LIGHTNING_HSMD_CAPABILITIES_H
#define LIGHTNING_HSMD_CAPABILITIES_H
#define HSM_CAP_ECDH 1
#define HSM_CAP_SIGN_GOSSIP 2
hsm: Make the master simply a client with special capabilities
2017-11-29 12:09:06 +01:00
#define HSM_CAP_MASTER 1024
hsm: Unifying the client creation and adding client capabilities 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>
2017-11-28 16:46:14 +01:00
#endif /* LIGHTNING_HSMD_CAPABILITIES_H */
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 624ms Template: 68ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API