mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 09:04:22 +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:
@@ -254,6 +254,7 @@ static struct lightningd_state *lightningd_state(void)
|
||||
|
||||
list_head_init(&dstate->peers);
|
||||
list_head_init(&dstate->pay_commands);
|
||||
dstate->portnum = 0;
|
||||
timers_init(&dstate->timers, controlled_time());
|
||||
txwatch_hash_init(&dstate->txwatches);
|
||||
txowatch_hash_init(&dstate->txowatches);
|
||||
|
||||
Reference in New Issue
Block a user