aboutsummaryrefslogtreecommitdiffstats
path: root/eth/protocol.go
diff options
context:
space:
mode:
authorkiel barry <kiel.j.barry@gmail.com>2018-05-09 15:59:00 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-05-09 15:59:00 +0800
commit4747aad160ed3721a70a133105c474cb3b66519e (patch)
treea55bf59f020b131b77943d7a1b0ecdefff2f01bd /eth/protocol.go
parent4ea493e7eb9fa3b3695a22487de2605e8da1d2fa (diff)
downloaddexon-4747aad160ed3721a70a133105c474cb3b66519e.tar
dexon-4747aad160ed3721a70a133105c474cb3b66519e.tar.gz
dexon-4747aad160ed3721a70a133105c474cb3b66519e.tar.bz2
dexon-4747aad160ed3721a70a133105c474cb3b66519e.tar.lz
dexon-4747aad160ed3721a70a133105c474cb3b66519e.tar.xz
dexon-4747aad160ed3721a70a133105c474cb3b66519e.tar.zst
dexon-4747aad160ed3721a70a133105c474cb3b66519e.zip
eth: golint fixes to variable names (#16711)
Diffstat (limited to 'eth/protocol.go')
-rw-r--r--eth/protocol.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/eth/protocol.go b/eth/protocol.go
index cd7db57f2..328d5b993 100644
--- a/eth/protocol.go
+++ b/eth/protocol.go
@@ -34,13 +34,13 @@ const (
eth63 = 63
)
-// Official short name of the protocol used during capability negotiation.
+// ProtocolName is the official short name of the protocol used during capability negotiation.
var ProtocolName = "eth"
-// Supported versions of the eth protocol (first is primary).
+// ProtocolVersions are the upported versions of the eth protocol (first is primary).
var ProtocolVersions = []uint{eth63, eth62}
-// Number of implemented message corresponding to different protocol versions.
+// ProtocolLengths are the number of implemented message corresponding to different protocol versions.
var ProtocolLengths = []uint64{17, 8}
const ProtocolMaxMsgSize = 10 * 1024 * 1024 // Maximum cap on the size of a protocol message