mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
getinfo: new RPC command
Useful for getting ID, what port (if not set in config file). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -72,6 +72,9 @@ struct lightningd_state {
|
||||
char *config_dir;
|
||||
char *rpc_filename;
|
||||
|
||||
/* Port we're listening on */
|
||||
u16 portnum;
|
||||
|
||||
/* Configuration settings. */
|
||||
struct config config;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user