go-ethereum/p2p/protocols
Ferenc Szabo f82185a4a1 p2p/protocols: fix data race in TestProtocolHook (#19242)
dummyHook's fields were concurrently written by nodes and read by
the test. The simplest solution is to protect all fields with a mutex.

Enable: TestMultiplePeersDropSelf, TestMultiplePeersDropOther as they
seemingly accidentally stayed disabled during a refactor/rewrite
since 1836366ac1.

resolves ethersphere/go-ethereum#1286
2019-03-08 17:30:16 +01:00
..
accounting.go swarm/metrics: Send the accounting registry to InfluxDB (#18470) 2019-01-24 18:57:20 +01:00
accounting_api.go p2p/protocols: accounting metrics rpc (#18336) 2018-12-22 06:04:03 +01:00
accounting_simulation_test.go p2p/protocols: fix data race in TestProtocolHook (#19242) 2019-03-08 17:30:16 +01:00
accounting_test.go p2p accounting (#17951) 2018-10-26 00:26:31 +02:00
protocol.go p2p/protocols: fix rare data race in Peer.Handshake() (#18951) 2019-01-29 14:51:13 +01:00
protocol_test.go p2p/protocols: fix data race in TestProtocolHook (#19242) 2019-03-08 17:30:16 +01:00
reporter.go p2p/protocols: fix possible metrics loss in AccountingMetrics (#18956) 2019-01-29 15:19:54 +01:00
reporter_test.go swarm/metrics: Send the accounting registry to InfluxDB (#18470) 2019-01-24 18:57:20 +01:00