Commit 7906a4d5 authored by Luke Champine's avatar Luke Champine Committed by GitHub

Merge pull request #2171 from mharkus/master

Added missing property 'local' in Gateway's peer response
parents 69dc8136 6e13ae08
...@@ -53,7 +53,11 @@ returns information about the gateway, including the list of connected peers. ...@@ -53,7 +53,11 @@ returns information about the gateway, including the list of connected peers.
// inbound is true when the peer initiated the connection. This field // inbound is true when the peer initiated the connection. This field
// is exposed as outbound peers are generally trusted more than inbound // is exposed as outbound peers are generally trusted more than inbound
// peers, as inbound peers are easily manipulated by an adversary. // peers, as inbound peers are easily manipulated by an adversary.
"inbound": Boolean "inbound": Boolean,
// local is true if the peer's IP address belongs to a local address
// range such as 192.168.x.x or 127.x.x.x
"local": Boolean
} }
} }
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment