浏览代码

Updated P2PConnected log fields

Taylor Gerring 10 年之前
父节点
当前提交
417f018498
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      logger/types.go

+ 4 - 2
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
 }