Rafael Matias
6d0902da3c
p2p/protocols: import to codebase, remove from vendor ( #1416 )
2019-06-04 14:32:44 +02:00
Rafael Matias
b046760db1
swarm: codebase split from go-ethereum ( #1405 )
2019-06-03 12:28:18 +02:00
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
holisticode
f2d6310354
p2p/protocols: fix race condition in TestAccountingSimulation ( #19228 )
...
p2p/protocols: Fix race condition in TestAccountingSimulation
2019-03-07 08:13:11 +01:00
holisticode
bba5fd8192
Accounting metrics reporter ( #18136 )
2018-11-26 17:05:18 +01:00
holisticode
8ed4739176
p2p accounting ( #17951 )
...
* p2p/protocols: introduced protocol accounting
* p2p/protocols: added TestExchange simulation
* p2p/protocols: add accounting simulation
* p2p/protocols: remove unnecessary tests
* p2p/protocols: comments for accounting simulation
* p2p/protocols: addressed PR comments
* p2p/protocols: finalized accounting implementation
* p2p/protocols: removed unused code
* p2p/protocols: addressed @nonsense PR comments
2018-10-26 00:26:31 +02:00