go-ethereum/swarm/network/simulation
lash 5e4fd8e7db swarm/network: Revised depth and health for Kademlia (#18354)
* swarm/network: Revised depth calculation with tests

* swarm/network: WIP remove redundant "full" function

* swarm/network: WIP peerpot refactor

* swarm/network: Make test methods submethod of peerpot and embed kad

* swarm/network: Remove commented out code

* swarm/network: Rename health test functions

* swarm/network: Too many n's

* swarm/network: Change hive Healthy func to accept addresses

* swarm/network: Add Healthy proxy method for api in hive

* swarm/network: Skip failing test out of scope for PR

* swarm/network: Skip all tests dependent on SuggestPeers

* swarm/network: Remove commented code and useless kad Pof member

* swarm/network: Remove more unused code, add counter on depth test errors

* swarm/network: WIP Create Healthy assertion tests

* swarm/network: Roll back health related methods receiver change

* swarm/network: Hardwire network minproxbinsize in swarm sim

* swarm/network: Rework Health test to strict

Pending add test for saturation
And add test for as many as possible up to saturation

* swarm/network: Skip discovery tests (dependent on SuggestPeer)

* swarm/network: Remove useless minProxBinSize in stream

* swarm/network: Remove unnecessary testing.T param to assert health

* swarm/network: Implement t.Helper() in checkHealth

* swarm/network: Rename check back to assert now that we have helper magic

* swarm/network: Revert WaitTillHealthy change (deferred to nxt PR)

* swarm/network: Kademlia tests GotNN => ConnectNN

* swarm/network: Renames and comments

* swarm/network: Add comments
2018-12-22 06:53:30 +01:00
..
bucket_test.go swarm, cmd/swarm: address ineffectual assignments (#18048) 2018-11-07 20:39:08 +01:00
bucket.go all: new p2p node representation (#17643) 2018-09-25 00:59:00 +02:00
events_test.go p2p/simulation: move connection methods from swarm/network/simulation (#18323) 2018-12-17 12:19:01 +01:00
events.go swarm/network/simulation: use simulations.Event instead p2p.PeerEvent (#18098) 2018-11-15 21:06:27 +01:00
example_test.go swarm/network/simulation:commented out unreachable code-avoid vet errors (#18263) 2018-12-18 07:24:59 +01:00
http_test.go Merge netsim mig to master (#17241) 2018-07-30 22:55:25 +02:00
http.go Merge netsim mig to master (#17241) 2018-07-30 22:55:25 +02:00
kademlia_test.go swarm: snapshot load improvement (#18220) 2018-12-07 06:51:40 +01:00
kademlia.go swarm/network: Revised depth and health for Kademlia (#18354) 2018-12-22 06:53:30 +01:00
node_test.go p2p/simulation: move connection methods from swarm/network/simulation (#18323) 2018-12-17 12:19:01 +01:00
node.go p2p/simulation: move connection methods from swarm/network/simulation (#18323) 2018-12-17 12:19:01 +01:00
service_test.go swarm: network simulation for swarm tests (#769) 2018-07-23 15:33:25 +02:00
service.go p2p/simulation: move connection methods from swarm/network/simulation (#18323) 2018-12-17 12:19:01 +01:00
simulation_test.go p2p/simulation: Test snapshot correctness and minimal benchmark (#18287) 2018-12-21 06:22:11 +01:00
simulation.go swarm/network: Revised depth and health for Kademlia (#18354) 2018-12-22 06:53:30 +01:00