Increased block request amount
This commit is contained in:
parent
74d7012025
commit
27f8922653
2
peer.go
2
peer.go
@ -786,7 +786,7 @@ func (p *Peer) CatchupWithPeer(blockHash []byte) {
|
|||||||
if !p.catchingUp {
|
if !p.catchingUp {
|
||||||
// Make sure nobody else is catching up when you want to do this
|
// Make sure nobody else is catching up when you want to do this
|
||||||
p.catchingUp = true
|
p.catchingUp = true
|
||||||
msg := ethwire.NewMessage(ethwire.MsgGetChainTy, []interface{}{blockHash, uint64(30)})
|
msg := ethwire.NewMessage(ethwire.MsgGetChainTy, []interface{}{blockHash, uint64(100)})
|
||||||
p.QueueMessage(msg)
|
p.QueueMessage(msg)
|
||||||
|
|
||||||
peerlogger.DebugDetailf("Requesting blockchain %x... from peer %s\n", p.ethereum.BlockChain().CurrentBlock.Hash()[:4], p.conn.RemoteAddr())
|
peerlogger.DebugDetailf("Requesting blockchain %x... from peer %s\n", p.ethereum.BlockChain().CurrentBlock.Hash()[:4], p.conn.RemoteAddr())
|
||||||
|
Loading…
Reference in New Issue
Block a user