aboutsummaryrefslogtreecommitdiffstats
path: root/eth
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-04 19:18:26 +0800
committerobscuren <geffobscura@gmail.com>2015-03-04 19:18:26 +0800
commit15f491e5007d1507f20d0edce36cc9c0bd5cbd37 (patch)
treedb8fcf0b0066ff66d91f6e89d7c89951c440b395 /eth
parent5817dab89e404847764eb74b35539c01747743f3 (diff)
downloaddexon-15f491e5007d1507f20d0edce36cc9c0bd5cbd37.tar
dexon-15f491e5007d1507f20d0edce36cc9c0bd5cbd37.tar.gz
dexon-15f491e5007d1507f20d0edce36cc9c0bd5cbd37.tar.bz2
dexon-15f491e5007d1507f20d0edce36cc9c0bd5cbd37.tar.lz
dexon-15f491e5007d1507f20d0edce36cc9c0bd5cbd37.tar.xz
dexon-15f491e5007d1507f20d0edce36cc9c0bd5cbd37.tar.zst
dexon-15f491e5007d1507f20d0edce36cc9c0bd5cbd37.zip
Clean up REPL
Diffstat (limited to 'eth')
-rw-r--r--eth/protocol.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/eth/protocol.go b/eth/protocol.go
index d394ba739..663af43fe 100644
--- a/eth/protocol.go
+++ b/eth/protocol.go
@@ -15,7 +15,7 @@ import (
)
const (
- ProtocolVersion = 55
+ ProtocolVersion = 56
NetworkId = 0
ProtocolLength = uint64(8)
ProtocolMaxMsgSize = 10 * 1024 * 1024
@@ -250,6 +250,7 @@ func (self *ethProtocol) handle() error {
return self.protoError(ErrDecode, "msg %v: %v", msg, err)
}
hash := request.Block.Hash()
+ fmt.Println("received block: %x", hash)
_, chainHead, _ := self.chainManager.Status()
jsonlogger.LogJson(&logger.EthChainReceivedNewBlock{