aboutsummaryrefslogtreecommitdiffstats
path: root/logger
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-02-17 20:30:25 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-02-17 20:30:25 +0800
commit417f018498b12073cd68dce9f4b1f6770b5c9e0f (patch)
tree7ba53339641ffb10a33a7227658df6c04efa9855 /logger
parentc934222a8089b19587242a3b0bc71ea0aec1d5ef (diff)
downloaddexon-417f018498b12073cd68dce9f4b1f6770b5c9e0f.tar
dexon-417f018498b12073cd68dce9f4b1f6770b5c9e0f.tar.gz
dexon-417f018498b12073cd68dce9f4b1f6770b5c9e0f.tar.bz2
dexon-417f018498b12073cd68dce9f4b1f6770b5c9e0f.tar.lz
dexon-417f018498b12073cd68dce9f4b1f6770b5c9e0f.tar.xz
dexon-417f018498b12073cd68dce9f4b1f6770b5c9e0f.tar.zst
dexon-417f018498b12073cd68dce9f4b1f6770b5c9e0f.zip
Updated P2PConnected log fields
Diffstat (limited to 'logger')
-rw-r--r--logger/types.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/logger/types.go b/logger/types.go
index f8dcb4e78..419382231 100644
--- a/logger/types.go
+++ b/logger/types.go
@@ -44,8 +44,10 @@ func (l *P2PConnecting) EventName() string {
}
type P2PConnected struct {
- NumConnections int `json:"num_connections"`
- RemoteId string `json:"remote_id"`
+ RemoteId string `json:"remote_id"`
+ RemoteAddress string `json:"remote_addr"`
+ RemoteVersionString string `json:"remote_version_string"`
+ NumConnections int `json:"num_connections"`
LogEvent
}