aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-07-14 06:37:41 +0800
committerobscuren <geffobscura@gmail.com>2014-07-14 06:37:41 +0800
commit2c46bfde8b65c3df0e7ee26955c0e0bd1ddf8873 (patch)
tree62c1aa9c91f21e96e442254139d29169ce5e3ddc
parent5b2e5d180fa79865b6319f4251a440da44a81809 (diff)
downloaddexon-2c46bfde8b65c3df0e7ee26955c0e0bd1ddf8873.tar
dexon-2c46bfde8b65c3df0e7ee26955c0e0bd1ddf8873.tar.gz
dexon-2c46bfde8b65c3df0e7ee26955c0e0bd1ddf8873.tar.bz2
dexon-2c46bfde8b65c3df0e7ee26955c0e0bd1ddf8873.tar.lz
dexon-2c46bfde8b65c3df0e7ee26955c0e0bd1ddf8873.tar.xz
dexon-2c46bfde8b65c3df0e7ee26955c0e0bd1ddf8873.tar.zst
dexon-2c46bfde8b65c3df0e7ee26955c0e0bd1ddf8873.zip
Increased block request
-rw-r--r--peer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/peer.go b/peer.go
index 0a4f08af5..8c622aa5c 100644
--- a/peer.go
+++ b/peer.go
@@ -754,7 +754,7 @@ func (p *Peer) CatchupWithPeer(blockHash []byte) {
if !p.catchingUp {
// Make sure nobody else is catching up when you want to do this
p.catchingUp = true
- msg := ethwire.NewMessage(ethwire.MsgGetChainTy, []interface{}{blockHash, uint64(10)})
+ msg := ethwire.NewMessage(ethwire.MsgGetChainTy, []interface{}{blockHash, uint64(30)})
p.QueueMessage(msg)
peerlogger.DebugDetailf("Requesting blockchain %x... from peer %s\n", p.ethereum.BlockChain().CurrentBlock.Hash()[:4], p.conn.RemoteAddr())