aboutsummaryrefslogtreecommitdiffstats
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
parentc934222a8089b19587242a3b0bc71ea0aec1d5ef (diff)
downloadgo-tangerine-417f018498b12073cd68dce9f4b1f6770b5c9e0f.tar
go-tangerine-417f018498b12073cd68dce9f4b1f6770b5c9e0f.tar.gz
go-tangerine-417f018498b12073cd68dce9f4b1f6770b5c9e0f.tar.bz2
go-tangerine-417f018498b12073cd68dce9f4b1f6770b5c9e0f.tar.lz
go-tangerine-417f018498b12073cd68dce9f4b1f6770b5c9e0f.tar.xz
go-tangerine-417f018498b12073cd68dce9f4b1f6770b5c9e0f.tar.zst
go-tangerine-417f018498b12073cd68dce9f4b1f6770b5c9e0f.zip
Updated P2PConnected log fields
-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
}