From 15f491e5007d1507f20d0edce36cc9c0bd5cbd37 Mon Sep 17 00:00:00 2001 From: obscuren Date: Wed, 4 Mar 2015 12:18:26 +0100 Subject: Clean up REPL --- eth/protocol.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'eth/protocol.go') 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{ -- cgit