aboutsummaryrefslogtreecommitdiffstats
path: root/dex/protocol.go
diff options
context:
space:
mode:
authorSonic <sonic@dexon.org>2019-03-27 20:02:55 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-13 18:11:44 +0800
commitc52c9e04a916fac3550b0a3c3d8cdf979ab70bb8 (patch)
treeaa9e20f32fa084fd9c5e2fbfcee295d5d63b1d48 /dex/protocol.go
parent7b8b4fcb0e8fd411bf523d06492e966e20e1b613 (diff)
downloadgo-tangerine-c52c9e04a916fac3550b0a3c3d8cdf979ab70bb8.tar
go-tangerine-c52c9e04a916fac3550b0a3c3d8cdf979ab70bb8.tar.gz
go-tangerine-c52c9e04a916fac3550b0a3c3d8cdf979ab70bb8.tar.bz2
go-tangerine-c52c9e04a916fac3550b0a3c3d8cdf979ab70bb8.tar.lz
go-tangerine-c52c9e04a916fac3550b0a3c3d8cdf979ab70bb8.tar.xz
go-tangerine-c52c9e04a916fac3550b0a3c3d8cdf979ab70bb8.tar.zst
go-tangerine-c52c9e04a916fac3550b0a3c3d8cdf979ab70bb8.zip
backport from v1.8.23 (#304)
* dex: backport f6193ad * dex/downloader: backport accc0fa accc0fab 174083c3 * dex: backport 434dd5b * dex: backport 42a914a 0983d02 * dex: backport 48b70ec 31b3334 and some modification * dex/downloader: backport 5f251a6 * dex/downloader: backport 81c3dc7 * dex, dex/downloader: fix typos
Diffstat (limited to 'dex/protocol.go')
-rw-r--r--dex/protocol.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/dex/protocol.go b/dex/protocol.go
index 639925265..287bf0883 100644
--- a/dex/protocol.go
+++ b/dex/protocol.go
@@ -55,7 +55,7 @@ const (
// ProtocolName is the official short name of the protocol used during capability negotiation.
var ProtocolName = "dex"
-// ProtocolVersions are the upported versions of the eth protocol (first is primary).
+// ProtocolVersions are the supported versions of the eth protocol (first is primary).
var ProtocolVersions = []uint{dex64}
// ProtocolLengths are the number of implemented message corresponding to different protocol versions.
@@ -116,6 +116,7 @@ const (
const (
fetcherReq = uint8(iota)
downloaderReq
+ whitelistReq
)
func (e errCode) String() string {