tendermint/docs/tendermint-core
Anton Kaliaev 6fad8eaf5a [p2p/pex] connect to more than 10 peers (#2169)
* [p2p/pex] connect to more than 10 peers

also, remove DefaultMinNumOutboundPeers because a) I am not sure it's
needed b) it's super confusing

look closely

```
maxPeers := sw.config.MaxNumPeers - DefaultMinNumOutboundPeers
if maxPeers <= sw.peers.Size() {
  sw.Logger.Info("Ignoring inbound connection: already have enough peers", "address", inConn.RemoteAddr().String(), "numPeers", sw.peers.Size(), "max", maxPeers)
```

we print maxPeers = config.MaxPeers - DefaultMinNumOutboundPeers. So we
may not have enough peers even though we say we have enough.

Refs #2130

* update spec

* replace MaxNumPeers with MaxNumInboundPeers/MaxNumOutboundPeers

Refs #2130

* update changelog

* make max rpc conns formula visible to users

* update spec

* docs: note max outbound peers excludes persistent
2018-08-14 18:25:56 -04:00
..
block-structure.md Deprecate/refactor content in docs/specification (#1934) 2018-07-11 23:45:10 +04:00
configuration.md [p2p/pex] connect to more than 10 peers (#2169) 2018-08-14 18:25:56 -04:00
how-to-read-logs.md docs: fix links & other imrpvoements 2018-08-07 19:47:51 -04:00
light-client-protocol.md Deprecate/refactor content in docs/specification (#1934) 2018-07-11 23:45:10 +04:00
metrics.md docs re-orgnization 2018-07-05 16:08:42 -04:00
rpc.md docs: fix links & other imrpvoements 2018-08-07 19:47:51 -04:00
running-in-production.md add json2wal & fix wal2json (#2196) 2018-08-10 09:09:40 +04:00
secure-p2p.md docs: fix links & other imrpvoements 2018-08-07 19:47:51 -04:00
using-tendermint.md docs: fix links & other imrpvoements 2018-08-07 19:47:51 -04:00
validators.md Deprecate/refactor content in docs/specification (#1934) 2018-07-11 23:45:10 +04:00