aboutsummaryrefslogtreecommitdiffstats
path: root/eth/protocol.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-10-27 21:10:30 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-10-28 18:44:15 +0800
commite46ab3bdcde7236c8fe54d6c83655e50bd19fe31 (patch)
tree4f30c5f9757ebfbde6501e1d53484ff51fd2fad9 /eth/protocol.go
parent05f74077fb1bc23937f3b25fd4e826dcf5789212 (diff)
downloadgo-tangerine-e46ab3bdcde7236c8fe54d6c83655e50bd19fe31.tar
go-tangerine-e46ab3bdcde7236c8fe54d6c83655e50bd19fe31.tar.gz
go-tangerine-e46ab3bdcde7236c8fe54d6c83655e50bd19fe31.tar.bz2
go-tangerine-e46ab3bdcde7236c8fe54d6c83655e50bd19fe31.tar.lz
go-tangerine-e46ab3bdcde7236c8fe54d6c83655e50bd19fe31.tar.xz
go-tangerine-e46ab3bdcde7236c8fe54d6c83655e50bd19fe31.tar.zst
go-tangerine-e46ab3bdcde7236c8fe54d6c83655e50bd19fe31.zip
eth, p2p, rpc/api: polish protocol info gathering
Diffstat (limited to 'eth/protocol.go')
-rw-r--r--eth/protocol.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/eth/protocol.go b/eth/protocol.go
index 410347ed3..808ac0601 100644
--- a/eth/protocol.go
+++ b/eth/protocol.go
@@ -33,6 +33,9 @@ const (
eth63 = 63
)
+// Official short name of the protocol used during capability negotiation.
+var ProtocolName = "eth"
+
// Supported versions of the eth protocol (first is primary).
var ProtocolVersions = []uint{eth63, eth62, eth61}