mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
routing: Passing back all addresses on getnodes
This commit is contained in:
committed by
Rusty Russell
parent
26892e79bb
commit
e972b208c7
@@ -112,6 +112,10 @@ void json_add_short_channel_id(struct json_result *response,
|
||||
const char *fieldname,
|
||||
const struct short_channel_id *id);
|
||||
|
||||
/* JSON serialize a network address for a node */
|
||||
void json_add_address(struct json_result *response, const char *fieldname,
|
||||
const struct ipaddr *addr);
|
||||
|
||||
void json_add_object(struct json_result *result, ...);
|
||||
|
||||
const char *json_result_string(const struct json_result *result);
|
||||
|
||||
Reference in New Issue
Block a user