mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
hsmd: rename "capabilities" flags for hsm fds to "permissions"
I obviously like the word "capabilities" since I reused it to refer to the HSM's overall features :( Suggested-by: @ksedgwic Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -11,10 +11,10 @@ struct ext_key;
|
||||
int hsm_get_client_fd(struct lightningd *ld,
|
||||
const struct node_id *id,
|
||||
u64 dbid,
|
||||
int capabilities);
|
||||
u64 permissions);
|
||||
|
||||
/* Ask HSM for an fd for a global subdaemon to use (gossipd, connectd) */
|
||||
int hsm_get_global_fd(struct lightningd *ld, int capabilities);
|
||||
int hsm_get_global_fd(struct lightningd *ld, u64 permissions);
|
||||
|
||||
/* Is this capability supported by the HSM? (So far, always a message
|
||||
* number) */
|
||||
|
||||
Reference in New Issue
Block a user