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@dexon.org>2019-04-09 21:32:58 +0800
commit91981becf98b988470810aa1c26d86de2d294e29 (patch)
treeaeb9b175a5cce93e6bbe8870028e151096bc6759 /dex/protocol.go
parenta29eba604b1a58ea414a6570223dedb0482cefaf (diff)
downloaddexon-91981becf98b988470810aa1c26d86de2d294e29.tar.gz
dexon-91981becf98b988470810aa1c26d86de2d294e29.tar.zst
dexon-91981becf98b988470810aa1c26d86de2d294e29.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 {