mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
jsonrpc: adds optional remote_addr to listpeers
Changelog-Added: jsonrpc: adds optional `remote_addr` to listpeers
This commit is contained in:
committed by
Rusty Russell
parent
a2b75b66ba
commit
475e4c9bd9
@@ -40,6 +40,9 @@ struct peer {
|
||||
struct wireaddr_internal addr;
|
||||
bool connected_incoming;
|
||||
|
||||
/* They send what they see as our address as remote_addr */
|
||||
struct wireaddr *remote_addr;
|
||||
|
||||
/* We keep a copy of their feature bits */
|
||||
const u8 *their_features;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user