Commit graph

10094 commits

Author SHA1 Message Date
Janos Guljas
458dd1a7b6 swarm: remove double swarm protocol in protocols 2018-04-25 13:21:51 +02:00
Anton Evangelatov
0f3dc214e4
Merge pull request #424 from ethersphere/remove_swarm-gw_links
swarm/api: get rid of swarm-gateways.net urls
2018-04-24 15:04:47 +02:00
Anton Evangelatov
42a4fb2ed1 swarm/api: get rid of swarm-gateways.net urls 2018-04-24 15:03:40 +02:00
Anton Evangelatov
165ec6c60a
Merge pull request #420 from ethersphere/snr-master-conflicts
swarm-network-rewrite / master conflicts
2018-04-23 19:38:47 +02:00
Anton Evangelatov
a0fe4d1e43 swarm: resolve conflicts with master 2018-04-23 17:58:17 +02:00
Anton Evangelatov
4c6f25fd78
Merge pull request #416 from ethersphere/fix-unexpected-eof
swarm: tracing to help fix `unexpected EOF`
2018-04-23 17:52:19 +02:00
Anton Evangelatov
312f8120e1 swarm/storage: remove redundant comment 2018-04-23 17:49:35 +02:00
Felix Lange
e7067be94f cmd/geth, mobile: add memsize to pprof server (#16532)
* cmd/geth, mobile: add memsize to pprof server

This is a temporary change, to be reverted before the next release.

* cmd/geth: fix variable name
2018-04-23 16:20:39 +03:00
Péter Szilágyi
9586f2acc7
VERSION, params: begin release cycle 1.8.7 2018-04-23 15:54:11 +03:00
Péter Szilágyi
12683feca7
params: release v1.8.6 to fix docker images 2018-04-23 15:52:02 +03:00
Péter Szilágyi
49371bf255
Dockerfile: drop legacy discovery v5 port mappings 2018-04-23 15:51:30 +03:00
Péter Szilágyi
16a78b095e
Merge pull request #16552 from karalabe/revert-docker-user
Dockerfile: revert the user change PR that broke all APIs
2018-04-23 15:27:24 +03:00
Péter Szilágyi
96a6c8ba0a
Dockerfile: revert the user change PR that broke all APIs 2018-04-23 15:26:15 +03:00
Péter Szilágyi
7d2c730acb
Merge pull request #16551 from ethereum/revert-16477-puppeth-dockerfile-permission-fix
Revert "cmd/puppeth: fix node deploys for updated dockerfile user"
2018-04-23 15:24:17 +03:00
Péter Szilágyi
abd881f6d4
Revert "cmd/puppeth: fix node deploys for updated dockerfile user" 2018-04-23 15:23:56 +03:00
Péter Szilágyi
4f91831aec
Merge pull request #16550 from ethereum/revert-16478-fix-alltools-dockerfile
Revert "Dockerfile.alltools: fix invalid command"
2018-04-23 15:23:47 +03:00
Péter Szilágyi
3f2583d6d1
Revert "Dockerfile.alltools: fix invalid command" 2018-04-23 15:23:14 +03:00
Vie
26a4dbb467 cmd/geth: update the copyright year in the geth command usage (#16537) 2018-04-23 13:45:43 +03:00
Anton Evangelatov
3006eb768f swarm: remove commented out code 2018-04-23 12:17:44 +02:00
Péter Szilágyi
50aa1dcfda
VERSION, params: begin Geth 1.8.6 release cycle 2018-04-23 10:06:45 +03:00
Péter Szilágyi
cbdaa0ca2a
params: release Geth v1.8.5 - Dirty Derivative² 2018-04-23 10:02:34 +03:00
Domino Valdano
7cf83cee52 eth/downloader: fix for Issue #16539 (#16546) 2018-04-23 10:01:21 +03:00
Anton Evangelatov
7785f29b6b swarm/storage: EOF is not an error 2018-04-22 16:08:57 +02:00
Anton Evangelatov
2ead337b48 swarm/storage: improve tracing for missing reference 2018-04-22 15:41:18 +02:00
Anton Evangelatov
2b5c0d0820 swarm/api: comment out ioutil.ReadAll 2018-04-22 15:26:04 +02:00
Anton Evangelatov
b68c2d35d8 swarm/api: get rid of endless loop on readall 2018-04-22 14:26:07 +02:00
Anton Evangelatov
f88ac098cb swarm/api: for loop for GetFile 2018-04-22 14:11:52 +02:00
Anton Evangelatov
b775c55622 swarm: remove spamy logs 2018-04-22 13:42:09 +02:00
Anton Evangelatov
426bc4f26b swarm: for loop on reader 2018-04-22 13:28:16 +02:00
Anton Evangelatov
09713314c7 swarm/storage: more error logging for Read and ReadAt 2018-04-22 13:10:08 +02:00
Fabian Raetz
744428cb03 vendor: update elastic/gosigar so that it compiles on OpenBSD (#16542) 2018-04-21 19:19:12 +02:00
Janoš Guljaš
726ab4893b
swarm: high level swarm network simulation
This commit includes TestSwarmNetwork test and changes to the swarm that are required for that test to pass.

TestSwarmNetwork contains tests for static network simulation with 10 and 100 nodes, and also tests where nodes are added or removed while the availability of files is checked between changes. On every test step, a number of nodes is created and the same number of files are uploaded on each of nodes (one file per node). The check consists of trying to retrieve all files from all nodes.
2018-04-20 12:22:13 +02:00
Anton Evangelatov
54fc06044d
Merge pull request #406 from ethersphere/prune-remove-2
swarm/network: Remove pruning implementation
2018-04-20 11:41:26 +02:00
lash
f4d08cec9d swarm/network: Remove pruning implementation 2018-04-19 17:56:43 +02:00
Lorenzo Manacorda
b15eb665ee ethclient: add DialContext and Close (#16318)
DialContext allows users to pass a Context object for cancellation.
Close closes the underlying RPC connection.
2018-04-19 15:36:33 +02:00
gluk256
a16f12ba86 whisper/whisperv6: post returns the hash of sent message (#16495) 2018-04-19 15:34:24 +02:00
Martin Holst Swende
8feb31825e rpc: handle HTTP response error codes (#16500) 2018-04-19 15:32:43 +02:00
Wuxiang
8f8774cf6d all: fix various typos (#16533)
* fix typo

* fix typo

* fix typo
2018-04-19 16:32:02 +03:00
dm4
c514fbccc0 core/asm: accept uppercase instructions (#16531) 2018-04-19 15:31:30 +02:00
Aron
068ad8e71f
Merge pull request #402 from aquiladev/swarm-network-rewrite
swarm: adds handling GET robots.txt #154 (our default is to disallow crawling, but this can be overwritten using nginx config)
2018-04-19 14:33:00 +02:00
Sergii Bomko
f0de54eaf1 fixes typo robots #154 2018-04-19 10:20:07 +02:00
Sergii Bomko
d98a110aef adds handling robot.txt rout #154 2018-04-19 09:36:39 +02:00
Anton Evangelatov
5f33e9a8f2 swarm/fuse: lock around minfo (#393) 2018-04-18 16:58:01 +02:00
Balint Gabor
a715a46bf6
swarm/fuse: Fix flaky FUSE tests (#398)
* swarm/fuse: Run encrypted/nonencrypted cases in separate tests

Encrypted/non-encrypted cases were running in single tests. That could
cause problems because cleanup was done with defers, and they did not run
between the encrypted/non-encrypted cases

* swarm/fuse: Fix typo

* swarm/storage: Fix test function parameter order convention
2018-04-18 16:09:32 +02:00
Felix Lange
52b046c9b6
rpc: clean up IPC handler (#16524)
This avoids logging accept errors on shutdown and removes
a bit of duplication. It also fixes some goimports lint warnings.
2018-04-18 12:27:20 +02:00
Zhenguo Niu
661f5f3dac cmd/utils: fix help template issue for subcommands (#16351) 2018-04-18 01:50:25 +02:00
dm4
49e38c970e core/asm: remove unused condition (#16487) 2018-04-18 01:08:31 +02:00
thomasmodeneis
ba1030b6b8 build: enable goimports and varcheck linters (#16446) 2018-04-18 00:53:50 +02:00
Balint Gabor
4e32271d08
swarm/...: Use Bmt hash for swarm (#389)
* swarm/...: Replace SHA3 to BMT

* swarm/storage: Removed temporary logging

* vendor: BMT_SHA3 length is 32

* swarm/storage: Do not ResetWithLength resource hasher

* swarm/storage: Make random chunk creation the same in different tests

And change hash to BMT in hasherstore_test and localstore_test

* swarm/storage: Use BMT hash in common_test

* swarm/storage: Use GenerateRandomChunk in mputChunks too

* swarm/storage, multihash: Package modified multihash with swarm

* vendor: Remove multihash vendored library

* swarm/multihash: Add readme
2018-04-17 21:43:41 +02:00
Anton Evangelatov
b1d253c0fb
Merge pull request #299 from ethersphere/test_missing_hash_no_error
cmd/swarm: make sure swarm doesnt crash when requested missing hashes
2018-04-17 11:31:15 +03:00