Christian Decker
8717c4e5a2
cln-grpc: Add midstate between configuration and replying to init
...
This is a bit special, in that it allows us to configure the plugin,
but then still abort startup by sending `init` with the `disable` flag
set.
2022-04-10 14:16:35 +09:30
Christian Decker
9826402c99
cln-grpc: Do not exit if grpc-port is not set
...
Exiting doesn't mesh well with builtin plugins, so just sit there and
do nothing
Changelog-None
2022-04-10 14:16:35 +09:30
Christian Decker
09ee28cb51
cln-grpc: Do not start unless a grpc-port is specified
...
For now we don't want to autostart.
Suggested-by: Rusty Russell <@rustyrussell>
2022-03-30 12:15:55 +10:30
Christian Decker
bf7ad86ef2
cln-grpc: Rename the grpc plugin and binary
...
Suggested-by: Rusty Russell <@rustyrussell>
Changelog-Added: plugins: `cln-grpc` first class GRPC interface for remotely controlling nodes over mTLS authentication
2022-03-30 12:15:55 +10:30
Christian Decker
dd66c85fcb
grpc-plugin: Make the grpc port to listen on configurable
...
Changelog-Added: cln-grpc-plugin: The plugin can be configured to listen on a specific port using the `grpc-port` option
2022-03-30 12:15:55 +10:30
Christian Decker
647ed6a8c8
cln: Add grpc port as configurable option
2022-03-30 12:15:55 +10:30
Christian Decker
27e468d2ae
grpc-plugin: Generate mTLS certificates and use them in grpc
2022-03-30 12:15:55 +10:30
Christian Decker
a17edeb839
cln-grpc-plugin: Add basic grpc-plugin
2022-03-30 12:15:55 +10:30