aboutsummaryrefslogtreecommitdiffstats
path: root/ethwire
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-21 19:25:31 +0800
committerobscuren <geffobscura@gmail.com>2014-10-21 19:25:31 +0800
commit520fdfe346ab51708f4f1fdfd0b2e42cc919e613 (patch)
tree51e9bef882bee329c18c85102fb98350d5880b0e /ethwire
parent10b252dd0517175117d8d4a8ef30b3689a10eda5 (diff)
downloadgo-tangerine-520fdfe346ab51708f4f1fdfd0b2e42cc919e613.tar
go-tangerine-520fdfe346ab51708f4f1fdfd0b2e42cc919e613.tar.gz
go-tangerine-520fdfe346ab51708f4f1fdfd0b2e42cc919e613.tar.bz2
go-tangerine-520fdfe346ab51708f4f1fdfd0b2e42cc919e613.tar.lz
go-tangerine-520fdfe346ab51708f4f1fdfd0b2e42cc919e613.tar.xz
go-tangerine-520fdfe346ab51708f4f1fdfd0b2e42cc919e613.tar.zst
go-tangerine-520fdfe346ab51708f4f1fdfd0b2e42cc919e613.zip
PoC7 Net
Diffstat (limited to 'ethwire')
-rw-r--r--ethwire/messaging.go24
1 files changed, 12 insertions, 12 deletions
diff --git a/ethwire/messaging.go b/ethwire/messaging.go
index 5013f1a97..cef520547 100644
--- a/ethwire/messaging.go
+++ b/ethwire/messaging.go
@@ -33,8 +33,8 @@ const (
MsgGetPeersTy = 0x04
MsgPeersTy = 0x05
- MsgStatusTy = 0x10
- MsgGetTxsTy = 0x11
+ MsgStatusTy = 0x10
+ //MsgGetTxsTy = 0x11
MsgTxTy = 0x12
MsgGetBlockHashesTy = 0x13
MsgBlockHashesTy = 0x14
@@ -44,16 +44,16 @@ const (
)
var msgTypeToString = map[MsgType]string{
- MsgHandshakeTy: "Handshake",
- MsgDiscTy: "Disconnect",
- MsgPingTy: "Ping",
- MsgPongTy: "Pong",
- MsgGetPeersTy: "Get peers",
- MsgStatusTy: "Status",
- MsgPeersTy: "Peers",
- MsgTxTy: "Transactions",
- MsgBlockTy: "Blocks",
- MsgGetTxsTy: "Get Txs",
+ MsgHandshakeTy: "Handshake",
+ MsgDiscTy: "Disconnect",
+ MsgPingTy: "Ping",
+ MsgPongTy: "Pong",
+ MsgGetPeersTy: "Get peers",
+ MsgStatusTy: "Status",
+ MsgPeersTy: "Peers",
+ MsgTxTy: "Transactions",
+ MsgBlockTy: "Blocks",
+ //MsgGetTxsTy: "Get Txs",
MsgGetBlockHashesTy: "Get block hashes",
MsgBlockHashesTy: "Block hashes",
MsgGetBlocksTy: "Get blocks",