From ac4bd31ba075d0f09b74f81b11e83a3be6439eff Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 5 Jun 2017 14:45:49 -0700 Subject: [PATCH] peer: disable peer stalling for get blocks messages --- peer/peer.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/peer/peer.go b/peer/peer.go index 0a3765d7..74b4b527 100644 --- a/peer/peer.go +++ b/peer/peer.go @@ -1278,10 +1278,6 @@ func (p *Peer) maybeAddDeadline(pendingResponses map[string]time.Time, msgCmd st // Expects an inv message. pendingResponses[wire.CmdInv] = deadline - case wire.CmdGetBlocks: - // Expects an inv message. - pendingResponses[wire.CmdInv] = deadline - case wire.CmdGetData: // Expects a block, merkleblock, tx, or notfound message. pendingResponses[wire.CmdBlock] = deadline