go-ethereum/swarm/network/simulations
Ferenc Szabo 13292ee897 p2p/simulations: encapsulate Node.Up field so we avoid data races
The Node.Up field was accessed concurrently without "proper" locking.
There was a lock on Network and that was used sometimes to access
the  field. Other times the locking was missed and we had
a data race.

For example: https://github.com/ethereum/go-ethereum/pull/18464
The case above was solved, but there were still intermittent/hard to
reproduce races. So let's solve the issue permanently.

resolves: ethersphere/go-ethereum#1146
2019-01-30 16:01:42 +01:00
..
discovery swarm/network: rewrite of peer suggestion engine, fix skipped tests (#18404) 2019-01-17 07:29:34 +01:00
overlay.go swarm/network: Rename minproxbinsize, add as member of simulation (#18408) 2019-01-10 12:33:51 +01:00
overlay_test.go p2p/simulations: encapsulate Node.Up field so we avoid data races 2019-01-30 16:01:42 +01:00