mirror of
https://github.com/btcsuite/btcd.git
synced 2025-01-19 05:33:36 +01:00
peer: disable peer stalling for get blocks messages
This commit is contained in:
parent
4a6dc67067
commit
ac4bd31ba0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user