Increased block request
This commit is contained in:
parent
5b2e5d180f
commit
2c46bfde8b
2
peer.go
2
peer.go
|
@ -754,7 +754,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(10)})
|
msg := ethwire.NewMessage(ethwire.MsgGetChainTy, []interface{}{blockHash, uint64(30)})
|
||||||
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