grin/servers
Ignotus Peverell f2b4c6dc07
Resurrect a random peer on every monitor (#1646)
Picks a random defunct peer and marks it healthy again anytime
we're querying peers to find more. Over enough time, any peer will
see another as defunct, leading to peer list atrophy. This
allows us random retries.

In addition, we need to cleanup peers after a while, we quickly
accumulate hundreds of dead peers over time. This should be
tracked by a different issue however.

Related: #1632
2018-10-03 09:16:32 -07:00
..
src Resurrect a random peer on every monitor (#1646) 2018-10-03 09:16:32 -07:00
tests test: avoid infinite waiting on basic_stratum_server test (#1634) 2018-10-02 19:23:51 +08:00
Cargo.toml Update rand crate to 0.5 (#1542) 2018-09-18 09:39:45 +01:00