[prev in list] [next in list] [prev in thread] [next in thread] 

List:       btcd-commits
Subject:    [btcsuite/btcd] 89af74: peer: remove getaddr msg from stall detection.
From:       Dario Nieuwenhuis <dirbaio () dirbaio ! net>
Date:       2015-12-27 19:00:21
Message-ID: 5680354582f1e_538f3ff8bd5cb2a0142241 () hookshot-fe2-cp1-prd ! iad ! github ! net ! mail
[Download RAW message or body]


  Branch: refs/heads/master
  Home:   https://github.com/btcsuite/btcd
  Commit: 89af747603fad09130129fa4688eaab53c0abdba
      https://github.com/btcsuite/btcd/commit/89af747603fad09130129fa4688eaab53c0abdba
  Author: Dario Nieuwenhuis <dirbaio@dirbaio.net>
  Date:   2015-12-27 (Sun, 27 Dec 2015)

  Changed paths:
    M peer/peer.go

  Log Message:
  -----------
  peer: remove getaddr msg from stall detection.

The getaddr msg is usually replied to with an addr msg, but if
the other peer does not have any addresses to share it will not
reply at all (instead of replying with an addr msg with 0 addresses).
Therefore, the getaddr msg is not guaranteed a reply, so this commit
removes it from stall detection to avoid incorrectly kicking
such peers.




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic