mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
ethstats: Add +EVMJIT
This commit is contained in:
parent
4e82d06dbd
commit
8db11d7822
1 changed files with 3 additions and 1 deletions
|
|
@ -381,11 +381,13 @@ func (s *Service) login(conn *websocket.Conn) error {
|
||||||
network = fmt.Sprintf("%d", infos.Protocols["les"].(*eth.EthNodeInfo).Network)
|
network = fmt.Sprintf("%d", infos.Protocols["les"].(*eth.EthNodeInfo).Network)
|
||||||
protocol = fmt.Sprintf("les/%d", les.ClientProtocolVersions[0])
|
protocol = fmt.Sprintf("les/%d", les.ClientProtocolVersions[0])
|
||||||
}
|
}
|
||||||
|
node := strings.Replace(infos.Name, "Geth", "Geth+EVMJIT", 1)
|
||||||
|
log.Warn("Node name: " + node)
|
||||||
auth := &authMsg{
|
auth := &authMsg{
|
||||||
Id: s.node,
|
Id: s.node,
|
||||||
Info: nodeInfo{
|
Info: nodeInfo{
|
||||||
Name: s.node,
|
Name: s.node,
|
||||||
Node: infos.Name,
|
Node: node,
|
||||||
Port: infos.Ports.Listener,
|
Port: infos.Ports.Listener,
|
||||||
Network: network,
|
Network: network,
|
||||||
Protocol: protocol,
|
Protocol: protocol,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue