holisticode
b98d2e9a1c
swarm/network/stream: Debug log instead of Warn for retrieval failure ( #18246 )
2018-12-04 18:29:51 +01:00
holisticode
695a5cce1e
Increase bzz version ( #18184 )
...
* swarm/network/stream/: added stream protocol version match tests
* Increase BZZ version due to streamer version change; version tests
* swarm/network: increased hive and test protocol version
2018-11-26 19:34:40 +01:00
holisticode
bba5fd8192
Accounting metrics reporter ( #18136 )
2018-11-26 17:05:18 +01:00
holisticode
ffe2fc3bc4
Swarm accounting ( #18050 )
...
* swarm: completed 1st phase of swap accounting
* swarm: swap accounting for swarm with p2p accounting
* swarm/swap: addressed PR comments
* swarm/swap: ignore ErrNotFound on stateStore.Get()
* swarm/swap: GetPeerBalance test; add TODO for chequebook API check
* swarm/network/stream: fix NewRegistry calls with new arguments
* swarm/swap: address @justelad's PR comments
2018-11-15 23:41:19 +01:00
holisticode
79c7a69ac8
swarm: Better syncing and retrieval option definition ( #17986 )
...
* swarm: Better syncing and retrieval option definition
* swarm/network/stream: better comments
* swarm/network/stream: addressed PR comments
2018-11-07 00:04: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
holisticode
88b41a9e68
swarm/network/stream: disambiguate chunk delivery messages (retrieval… ( #17920 )
...
* swarm/network/stream: disambiguate chunk delivery messages (retrieval vs syncing)
* swarm/network/stream: addressed PR comments
* swarm/network/stream: stream protocol version change due to new message types in this PR
2018-10-21 09:30:41 +02:00
holisticode
4466c7b971
metrics: added NewCounterForced ( #17919 )
2018-10-16 16:22:51 +02:00
holisticode
11d0ff6578
Fix retrieval tests and simulation backends ( #17723 )
...
* swarm/network/stream: introduced visualized snapshot sync test
* swarm/network/stream: non-existing hash visualization sim
* swarm/network/stream: fixed retrieval tests; new backend for visualization
* swarm/network/stream: cleanup of visualized_snapshot_sync_sim_test.go
* swarm/network/stream: rebased PR on master
* swarm/network/stream: fixed loop logic in retrieval tests
* swarm/network/stream: fixed iterations for snapshot tests
* swarm/network/stream: address PR comments
* swarm/network/stream: addressed PR comments
2018-10-08 20:28:44 +02:00
holisticode
d6efa69187
Merge netsim mig to master ( #17241 )
...
* swarm: merged stream-tests migration to develop
* swarm/network: expose simulation RandomUpNode to use in stream tests
* swarm/network: wait for subs in PeerEvents and fix stream.runSyncTest
* swarm: enforce waitkademlia for snapshot tests
* swarm: fixed syncer tests and snapshot_sync_test
* swarm: linting of simulation package
* swarm: address review comments
* swarm/network/stream: fix delivery_test bugs and refactor
* swarm/network/stream: addressed PR comments @janos
* swarm/network/stream: enforce waitKademlia, improve TestIntervals
* swarm/network/stream: TestIntervals not waiting for chunk to be stored
2018-07-30 22:55:25 +02:00
holisticode
fd777bb210
p2p/simulations: add mocker functionality ( #15207 )
...
This commit adds mocker functionality to p2p/simulations. A
mocker allows to starting/stopping of nodes via the HTTP API.
2017-12-12 19:10:41 +01:00
holisticode
32516c768e
cmd/swarm: add config file ( #15548 )
...
This commit adds a TOML configuration option to swarm. It reuses
the TOML configuration structure used in geth with swarm
customized items.
The commit:
* Adds a "dumpconfig" command to the swarm executable which
allows printing the (default) configuration to stdout, which
then can be redirected to a file in order to customize it.
* Adds a "--config <file>" option to the swarm executable which will
allow to load a configuration file in TOML format from the
specified location in order to initialize the Swarm node The
override priorities are like follows: environment variables
override command line arguments override config file override
default config.
2017-12-11 22:56:06 +01:00
holisticode
1ae0411d41
swarm/api: fixed 404 handling on missing default entry ( #15139 )
2017-10-06 15:45:54 +02:00
holisticode
ac193e36ce
swarm/api/http: add error pages ( #14967 )
2017-09-08 20:29:09 +02:00
holisticode
409b61fe3c
swarm/api: better name resolver handling ( #3754 )
...
Fixes #3608
2017-04-13 11:06:19 +02:00
holisticode
d97dea51ec
swarm/network/kademlia: set kademlia log output to debug instead of warn ( #3787 )
2017-03-18 01:45:00 +01:00