aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-07-30 05:34:21 +0800
committerobscuren <geffobscura@gmail.com>2014-07-30 05:34:21 +0800
commit27f892265312255811867fab83acbeefa1626cec (patch)
tree75cc90edb337a474c23578b81234a16cb1077dac
parent74d701202583b49d29f5dbca00aec419bdee8e1d (diff)
downloadgo-tangerine-27f892265312255811867fab83acbeefa1626cec.tar
go-tangerine-27f892265312255811867fab83acbeefa1626cec.tar.gz
go-tangerine-27f892265312255811867fab83acbeefa1626cec.tar.bz2
go-tangerine-27f892265312255811867fab83acbeefa1626cec.tar.lz
go-tangerine-27f892265312255811867fab83acbeefa1626cec.tar.xz
go-tangerine-27f892265312255811867fab83acbeefa1626cec.tar.zst
go-tangerine-27f892265312255811867fab83acbeefa1626cec.zip
Increased block request amount
-rw-r--r--peer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/peer.go b/peer.go
index f4314e35c..d977b2086 100644
--- a/peer.go
+++ b/peer.go
@@ -786,7 +786,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(30)})
+ msg := ethwire.NewMessage(ethwire.MsgGetChainTy, []interface{}{blockHash, uint64(100)})
p.QueueMessage(msg)
peerlogger.DebugDetailf("Requesting blockchain %x... from peer %s\n", p.ethereum.BlockChain().CurrentBlock.Hash()[:4], p.conn.RemoteAddr())