mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +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
@@ -1114,6 +1114,10 @@
|
||||
"description": "address, e.g. 1.2.3.4:1234"
|
||||
}
|
||||
},
|
||||
"remote_addr": {
|
||||
"type": "string",
|
||||
"description": "The public IPv4/6 address the peer sees us from, e.g. 1.2.3.4:1234"
|
||||
},
|
||||
"features": {
|
||||
"type": "hex",
|
||||
"description": "bitmap of BOLT #9 features from peer's INIT message"
|
||||
|
||||
Reference in New Issue
Block a user