aboutsummaryrefslogtreecommitdiffstats
path: root/ethwire/messaging.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-03-28 18:20:07 +0800
committerobscuren <geffobscura@gmail.com>2014-03-28 18:20:07 +0800
commitb888652201277ab86e9e8c280e75e23ced5e3d38 (patch)
tree3685b52bf1d738a8b2167876295aa1a0db29b34e /ethwire/messaging.go
parent60fd2f3521471b300107847271f4df2919f1b0d4 (diff)
downloaddexon-b888652201277ab86e9e8c280e75e23ced5e3d38.tar
dexon-b888652201277ab86e9e8c280e75e23ced5e3d38.tar.gz
dexon-b888652201277ab86e9e8c280e75e23ced5e3d38.tar.bz2
dexon-b888652201277ab86e9e8c280e75e23ced5e3d38.tar.lz
dexon-b888652201277ab86e9e8c280e75e23ced5e3d38.tar.xz
dexon-b888652201277ab86e9e8c280e75e23ced5e3d38.tar.zst
dexon-b888652201277ab86e9e8c280e75e23ced5e3d38.zip
Added missing GetTx (0x16) wire message
Diffstat (limited to 'ethwire/messaging.go')
-rw-r--r--ethwire/messaging.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/ethwire/messaging.go b/ethwire/messaging.go
index 185faa341..b622376f3 100644
--- a/ethwire/messaging.go
+++ b/ethwire/messaging.go
@@ -32,6 +32,7 @@ const (
MsgBlockTy = 0x13
MsgGetChainTy = 0x14
MsgNotInChainTy = 0x15
+ MsgGetTxsTy = 0x16
MsgTalkTy = 0xff
)
@@ -46,6 +47,7 @@ var msgTypeToString = map[MsgType]string{
MsgTxTy: "Transactions",
MsgBlockTy: "Blocks",
MsgGetChainTy: "Get chain",
+ MsgGetTxsTy: "Get Txs",
MsgNotInChainTy: "Not in chain",
}