diff options
author | Felix Lange <fjl@twurst.com> | 2015-02-19 23:39:20 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-02-19 23:54:53 +0800 |
commit | 1ec6190e866eeefd91ea82b31da9f94753685a4a (patch) | |
tree | 72cd3a88b033f131ab3d5d42c3ab4a10c97c63b7 /cmd/mist/gui.go | |
parent | 73f94f37559ca0c8739c7dddeaf46d36827fdf30 (diff) | |
download | dexon-1ec6190e866eeefd91ea82b31da9f94753685a4a.tar dexon-1ec6190e866eeefd91ea82b31da9f94753685a4a.tar.gz dexon-1ec6190e866eeefd91ea82b31da9f94753685a4a.tar.bz2 dexon-1ec6190e866eeefd91ea82b31da9f94753685a4a.tar.lz dexon-1ec6190e866eeefd91ea82b31da9f94753685a4a.tar.xz dexon-1ec6190e866eeefd91ea82b31da9f94753685a4a.tar.zst dexon-1ec6190e866eeefd91ea82b31da9f94753685a4a.zip |
cmd/mist: show peer names in peers window
Diffstat (limited to 'cmd/mist/gui.go')
-rw-r--r-- | cmd/mist/gui.go | 3 |
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()), } } |