|
@ -2,6 +2,7 @@ package core_types |
|
|
|
|
|
|
|
|
import ( |
|
|
import ( |
|
|
"encoding/json" |
|
|
"encoding/json" |
|
|
|
|
|
"net" |
|
|
"time" |
|
|
"time" |
|
|
|
|
|
|
|
|
abci "github.com/tendermint/tendermint/abci/types" |
|
|
abci "github.com/tendermint/tendermint/abci/types" |
|
@ -110,6 +111,7 @@ type Peer struct { |
|
|
NodeInfo p2p.DefaultNodeInfo `json:"node_info"` |
|
|
NodeInfo p2p.DefaultNodeInfo `json:"node_info"` |
|
|
IsOutbound bool `json:"is_outbound"` |
|
|
IsOutbound bool `json:"is_outbound"` |
|
|
ConnectionStatus p2p.ConnectionStatus `json:"connection_status"` |
|
|
ConnectionStatus p2p.ConnectionStatus `json:"connection_status"` |
|
|
|
|
|
RemoteIP net.IP `json:"remote_ip"` |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Validators for a height
|
|
|
// Validators for a height
|
|
|