peer: disable peer stalling for get blocks messages
This commit is contained in:
parent
4a6dc67067
commit
ac4bd31ba0
1 changed files with 0 additions and 4 deletions
|
@ -1278,10 +1278,6 @@ func (p *Peer) maybeAddDeadline(pendingResponses map[string]time.Time, msgCmd st
|
||||||
// Expects an inv message.
|
// Expects an inv message.
|
||||||
pendingResponses[wire.CmdInv] = deadline
|
pendingResponses[wire.CmdInv] = deadline
|
||||||
|
|
||||||
case wire.CmdGetBlocks:
|
|
||||||
// Expects an inv message.
|
|
||||||
pendingResponses[wire.CmdInv] = deadline
|
|
||||||
|
|
||||||
case wire.CmdGetData:
|
case wire.CmdGetData:
|
||||||
// Expects a block, merkleblock, tx, or notfound message.
|
// Expects a block, merkleblock, tx, or notfound message.
|
||||||
pendingResponses[wire.CmdBlock] = deadline
|
pendingResponses[wire.CmdBlock] = deadline
|
||||||
|
|
Loading…
Add table
Reference in a new issue