status-go/geth
Dmitry Shulyak 2f2dfe16c0
Add default peer limits configuration (#830)
* Add default peer limits configuration

If discovery is enabled for a given cluster - we will set a default
expected number of peers for each enabled service. For example:

- if cluster is rinkeby has a discovery enabled we will
  check which services are enabled
- if whisper is enabled we will set min and max limits by default
- if les is enabled and infura is not used we will set limits too

When statusd is used - configuration must be provided using configuration
supported by statusd.


* Fix deadlock in les peer set
2018-04-20 15:23:18 +03:00
..
account Mockgen import cycle not allowed && recover missing mockgens (#824) 2018-04-13 15:10:37 +02:00
api Make sure that only `personal_sign` and `personal_ecRecover` are exported. 2018-04-18 18:22:21 +02:00
db Peer pool to manage v5 peers (#736) 2018-04-10 09:44:09 +03:00
jail Mockgen import cycle not allowed && recover missing mockgens (#824) 2018-04-13 15:10:37 +02:00
mailservice Expose only public APIs in inproc RPC client [breaking-change] (#815) 2018-04-12 18:17:10 +02:00
node Add default peer limits configuration (#830) 2018-04-20 15:23:18 +03:00
notifications/push Mockgen import cycle not allowed && recover missing mockgens (#824) 2018-04-13 15:10:37 +02:00
params Add default peer limits configuration (#830) 2018-04-20 15:23:18 +03:00
peers Add a priority queue to TopicPool (#840) 2018-04-19 17:18:49 +02:00
rpc Implement `personal_sign`. 2018-04-17 11:18:58 +02:00
signal Send an expiration signal when envelope wasn't delivered to any peer 2018-04-15 10:44:49 +03:00
transactions Implement `personal_sign`. 2018-04-17 11:18:58 +02:00