aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/gui.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-02-20 05:46:07 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-02-20 05:46:07 +0800
commit639ac5c3daa253f36d41672165a5727d8eba207e (patch)
tree996c510244cbde21b21a9c05ebc4f696963b5c1f /cmd/mist/gui.go
parent765740b829072f9a1bbeff356377a91defd9fdd8 (diff)
parent3719db352a3de1c7daece71895abdd871616a2aa (diff)
downloadgo-tangerine-639ac5c3daa253f36d41672165a5727d8eba207e.tar
go-tangerine-639ac5c3daa253f36d41672165a5727d8eba207e.tar.gz
go-tangerine-639ac5c3daa253f36d41672165a5727d8eba207e.tar.bz2
go-tangerine-639ac5c3daa253f36d41672165a5727d8eba207e.tar.lz
go-tangerine-639ac5c3daa253f36d41672165a5727d8eba207e.tar.xz
go-tangerine-639ac5c3daa253f36d41672165a5727d8eba207e.tar.zst
go-tangerine-639ac5c3daa253f36d41672165a5727d8eba207e.zip
Merge pull request #352 from fjl/no-enc-handshake
p2p: disable encryption handshake, enable log events
Diffstat (limited to 'cmd/mist/gui.go')
-rw-r--r--cmd/mist/gui.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/mist/gui.go b/cmd/mist/gui.go
index c9419473c..efab18064 100644
--- a/cmd/mist/gui.go
+++ b/cmd/mist/gui.go
@@ -466,7 +466,7 @@ NumGC: %d
))
}
-type qmlpeer struct{ Addr, NodeID, Caps string }
+type qmlpeer struct{ Addr, NodeID, Name, Caps string }
type peersByID []*qmlpeer
@@ -481,6 +481,7 @@ func (gui *Gui) setPeerInfo() {
qpeers[i] = &qmlpeer{
NodeID: p.ID().String(),
Addr: p.RemoteAddr().String(),
+ Name: p.Name(),
Caps: fmt.Sprint(p.Caps()),
}
}