[net] Make p2p recv buffer timeout 20 minutes for all peers
[net] Make p2p recv buffer timeout 20 minutes for all peers

The timeout interval for the send and recv buffers was changed from 90
minutes to 20 minutes in commit f1920e86 in 2013, except for peers that
did not support the pong message (where the recv buffer timeout remained
at 90 minutes). A few observations:

- for peers that support BIP 31 (pong messages), this recv buffer
  timeout is almost redundant with the ping timeout. We send a ping
  message every two minutes, and set a timeout of twenty minutes to
  receive the pong response. If the recv buffer was really timing out,
  then the pong response would also time out.
- BIP 31 is supported by all nodes of p2p version 60000 and higher, and
  has been in widespread use since 2013. I'd be very surprised if there
  are many nodes on the network that don't support pong messages.
- The recv buffer timeout is not specified in any p2p BIP. We're free to
  set it at any value we want.
- A peer that doesn't support BIP 31 and hasn't sent any message to us
  at all in 90 minutes is unlikely to be useful for us, and is more likely
  to be evicted AttemptToEvictConnection() since it'll have the worst
  possible ping time and isn't providing blocks/transactions.

Therefore, we remove this check, and sent the recv buffer timeout to 20
minutes for all peers. This removes the final p2p version dependent
logic from the net layer, so all p2p version data can move into the
net_processing layer.

Alternative approaches:

- Set the recv buffer timeout to 90 minutes for all peers. This almost
  wouldn't be a behaviour change at all (pre-BIP 31 peers would still
  have the same recv buffer timeout, and we can't ever reach a recv buffer
  timeout higher than 21 minutes for post-BIP31 peers, because the pong
  timeout would be hit first).
- Stop supporting peers that don't support BIP 31. BIP 31 has been in
  use since 2012, and implementing it is trivial.

achow101/bitcoin,tecnovert/particl-core,JeremyRubin/bitcoin,fujicoin/fujicoin,andreaskern/bitcoin,kallewoof/bitcoin,prusnak/bitcoin,mm-s/bitcoin,GroestlCoin/bitcoin,dscotese/bitcoin,pataquets/namecoin-core,domob1812/namecore,dscotese/bitcoin,cdecker/bitcoin,bitcoin/bitcoin,MeshCollider/bitcoin,lateminer/bitcoin,pataquets/namecoin-core,namecoin/namecore,kallewoof/bitcoin,bitcoin/bitcoin,yenliangl/bitcoin,MarcoFalke/bitcoin,domob1812/namecore,instagibbs/bitcoin,prusnak/bitcoin,mm-s/bitcoin,anditto/bitcoin,practicalswift/bitcoin,anditto/bitcoin,practicalswift/bitcoin,namecoin/namecore,ajtowns/bitcoin,kallewoof/bitcoin,achow101/bitcoin,rnicoll/bitcoin,bitcoinsSG/bitcoin,sipsorcery/bitcoin,anditto/bitcoin,AkioNak/bitcoin,Xekyo/bitcoin,cdecker/bitcoin,sstone/bitcoin,EthanHeilman/bitcoin,bitcoinsSG/bitcoin,particl/particl-core,qtumproject/qtum,JeremyRubin/bitcoin,EthanHeilman/bitcoin,mm-s/bitcoin,ElementsProject/elements,tecnovert/particl-core,AkioNak/bitcoin,practicalswift/bitcoin,n1bor/bitcoin,jlopp/statoshi,bitcoinsSG/bitcoin,MeshCollider/bitcoin,Sjors/bitcoin,ElementsProject/elements,domob1812/namecore,achow101/bitcoin,tecnovert/particl-core,cdecker/bitcoin,MeshCollider/bitcoin,sipsorcery/bitcoin,n1bor/bitcoin,Sjors/bitcoin,Xekyo/bitcoin,bitcoinknots/bitcoin,qtumproject/qtum,GroestlCoin/bitcoin,instagibbs/bitcoin,jlopp/statoshi,lateminer/bitcoin,namecoin/namecore,cdecker/bitcoin,namecoin/namecoin-core,mruddy/bitcoin,EthanHeilman/bitcoin,AkioNak/bitcoin,namecoin/namecoin-core,cdecker/bitcoin,sstone/bitcoin,MarcoFalke/bitcoin,ajtowns/bitcoin,bitcoin/bitcoin,pstratem/bitcoin,fujicoin/fujicoin,fanquake/bitcoin,lateminer/bitcoin,pstratem/bitcoin,yenliangl/bitcoin,AkioNak/bitcoin,practicalswift/bitcoin,fanquake/bitcoin,particl/particl-core,domob1812/bitcoin,bitcoin/bitcoin,bitcoinsSG/bitcoin,fujicoin/fujicoin,jambolo/bitcoin,jamesob/bitcoin,rnicoll/bitcoin,GroestlCoin/bitcoin,fujicoin/fujicoin,Sjors/bitcoin,JeremyRubin/bitcoin,bitcoinknots/bitcoin,andreaskern/bitcoin,mm-s/bitcoin,yenliangl/bitcoin,fanquake/bitcoin,ElementsProject/elements,dscotese/bitcoin,fanquake/bitcoin,ElementsProject/elements,ajtowns/bitcoin,particl/particl-core,MarcoFalke/bitcoin,mruddy/bitcoin,GroestlCoin/GroestlCoin,ElementsProject/elements,domob1812/bitcoin,jlopp/statoshi,jambolo/bitcoin,pataquets/namecoin-core,prusnak/bitcoin,jamesob/bitcoin,pataquets/namecoin-core,GroestlCoin/GroestlCoin,jnewbery/bitcoin,lateminer/bitcoin,MarcoFalke/bitcoin,tecnovert/particl-core,mruddy/bitcoin,MarcoFalke/bitcoin,kallewoof/bitcoin,mm-s/bitcoin,EthanHeilman/bitcoin,qtumproject/qtum,MeshCollider/bitcoin,Xekyo/bitcoin,n1bor/bitcoin,sstone/bitcoin,jambolo/bitcoin,namecoin/namecore,EthanHeilman/bitcoin,particl/particl-core,anditto/bitcoin,GroestlCoin/GroestlCoin,apoelstra/bitcoin,GroestlCoin/GroestlCoin,JeremyRubin/bitcoin,anditto/bitcoin,n1bor/bitcoin,Sjors/bitcoin,practicalswift/bitcoin,jlopp/statoshi,pstratem/bitcoin,prusnak/bitcoin,prusnak/bitcoin,GroestlCoin/GroestlCoin,sipsorcery/bitcoin,GroestlCoin/bitcoin,apoelstra/bitcoin,tecnovert/particl-core,bitcoinknots/bitcoin,kallewoof/bitcoin,pstratem/bitcoin,mruddy/bitcoin,jamesob/bitcoin,EthanHeilman/bitcoin,jnewbery/bitcoin,MeshCollider/bitcoin,n1bor/bitcoin,achow101/bitcoin,Sjors/bitcoin,qtumproject/qtum,prusnak/bitcoin,apoelstra/bitcoin,mruddy/bitcoin,ElementsProject/elements,anditto/bitcoin,particl/particl-core,JeremyRubin/bitcoin,andreaskern/bitcoin,sipsorcery/bitcoin,fujicoin/fujicoin,jnewbery/bitcoin,namecoin/namecore,domob1812/namecore,bitcoin/bitcoin,sipsorcery/bitcoin,qtumproject/qtum,namecoin/namecoin-core,domob1812/bitcoin,fanquake/bitcoin,namecoin/namecoin-core,apoelstra/bitcoin,yenliangl/bitcoin,sstone/bitcoin,bitcoinsSG/bitcoin,fujicoin/fujicoin,jambolo/bitcoin,pstratem/bitcoin,namecoin/namecore,particl/particl-core,jnewbery/bitcoin,jnewbery/bitcoin,achow101/bitcoin,ajtowns/bitcoin,Xekyo/bitcoin,rnicoll/bitcoin,andreaskern/bitcoin,kallewoof/bitcoin,bitcoinknots/bitcoin,qtumproject/qtum,sstone/bitcoin,domob1812/namecore,jamesob/bitcoin,dscotese/bitcoin,domob1812/bitcoin,jambolo/bitcoin,domob1812/namecore,namecoin/namecoin-core,jlopp/statoshi,jamesob/bitcoin,mruddy/bitcoin,mm-s/bitcoin,jlopp/statoshi,achow101/bitcoin,bitcoinknots/bitcoin,domob1812/bitcoin,MarcoFalke/bitcoin,dscotese/bitcoin,JeremyRubin/bitcoin,instagibbs/bitcoin,rnicoll/bitcoin,ajtowns/bitcoin,pataquets/namecoin-core,apoelstra/bitcoin,GroestlCoin/bitcoin,pataquets/namecoin-core,domob1812/bitcoin,lateminer/bitcoin,namecoin/namecoin-core,AkioNak/bitcoin,jambolo/bitcoin,rnicoll/bitcoin,yenliangl/bitcoin,yenliangl/bitcoin,lateminer/bitcoin,dscotese/bitcoin,tecnovert/particl-core,n1bor/bitcoin,apoelstra/bitcoin,instagibbs/bitcoin,GroestlCoin/bitcoin,andreaskern/bitcoin,Xekyo/bitcoin,cdecker/bitcoin,Xekyo/bitcoin,GroestlCoin/GroestlCoin,instagibbs/bitcoin,bitcoinsSG/bitcoin,fanquake/bitcoin,andreaskern/bitcoin,practicalswift/bitcoin,bitcoin/bitcoin,ajtowns/bitcoin,sstone/bitcoin,instagibbs/bitcoin,sipsorcery/bitcoin,rnicoll/bitcoin,AkioNak/bitcoin,pstratem/bitcoin,MeshCollider/bitcoin,jamesob/bitcoin,qtumproject/qtum