diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-04 19:18:26 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-04 19:18:26 +0800 |
commit | 15f491e5007d1507f20d0edce36cc9c0bd5cbd37 (patch) | |
tree | db8fcf0b0066ff66d91f6e89d7c89951c440b395 /eth/protocol.go | |
parent | 5817dab89e404847764eb74b35539c01747743f3 (diff) | |
download | go-tangerine-15f491e5007d1507f20d0edce36cc9c0bd5cbd37.tar go-tangerine-15f491e5007d1507f20d0edce36cc9c0bd5cbd37.tar.gz go-tangerine-15f491e5007d1507f20d0edce36cc9c0bd5cbd37.tar.bz2 go-tangerine-15f491e5007d1507f20d0edce36cc9c0bd5cbd37.tar.lz go-tangerine-15f491e5007d1507f20d0edce36cc9c0bd5cbd37.tar.xz go-tangerine-15f491e5007d1507f20d0edce36cc9c0bd5cbd37.tar.zst go-tangerine-15f491e5007d1507f20d0edce36cc9c0bd5cbd37.zip |
Clean up REPL
Diffstat (limited to 'eth/protocol.go')
-rw-r--r-- | eth/protocol.go | 3 |
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{ |