getpeers: new command.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2016-01-22 06:41:48 +10:30
parent d8959b3117
commit 08ccb4b6f0
5 changed files with 39 additions and 4 deletions

View File

@@ -57,5 +57,6 @@ void setup_jsonrpc(struct lightningd_state *state, const char *rpc_filename);
/* Commands (from other files) */
extern const struct json_command connect_command;
extern const struct json_command getpeers_command;
#endif /* LIGHTNING_DAEMON_JSONRPC_H */