Janos Guljas
9e99a0c2b9
cmd/swarm, swarm: add stream peer servers limit
2018-09-24 17:56:00 +02:00
Péter Szilágyi
0ae462fb80
params, swarm: begin Geth v1.8.17, Swarm v0.3.5 cycle
2018-09-24 16:02:07 +03:00
Péter Szilágyi
477eb0933b
params, swarm: release Geth v1.8.16, Swarm v0.3.4
2018-09-24 15:59:21 +03:00
Ferenc Szabo
d3f056bd68
swarm/network/stream: fix DoS invalid hash length ( #927 )
2018-09-21 12:56:43 +02:00
HackyMiner
6975c72981
all: fix various comment typos ( #17591 )
...
* swarm: fixed comment typo
* eth: fixed comment typo
* cmd/puppeth: fixed comment typo
2018-09-19 18:10:40 +02:00
Balint Gabor
f5c7d1c8eb
swarm/storage: Implement global timeout for fetcher ( #17702 )
2018-09-19 16:59:10 +02:00
Janoš Guljaš
1f45ba9bb1
swarm/network: downgrade fetcher unable to request log message severity ( #17692 )
2018-09-18 14:54:52 +02:00
Balint Gabor
bd58098f2d
swarm: Chunk refactor improvements ( #17683 )
...
* swarm/network: Protocol bump (for chunk refactor)
* swarm/network: Increase discovery and stream protocol version too
* swarm/network: Increase priority queue cap
2018-09-18 10:17:13 +02:00
Emil
86a03f97d3
all: simplify s[:] to s where s is a slice ( #17673 )
2018-09-14 22:07:13 +02:00
Balint Gabor
3ff2f75636
swarm: Chunk refactor ( #17659 )
...
Co-authored-by: Janos Guljas <janos@resenje.org>
Co-authored-by: Balint Gabor <balint.g@gmail.com>
Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>
Co-authored-by: Viktor Trón <viktor.tron@gmail.com>
2018-09-13 11:42:19 +02:00
Anton Evangelatov
ff3a5d24d2
swarm/storage: remove redundant increments for dataIdx and entryCnt ( #17484 )
...
* swarm/storage: remove redundant increments for dataIdx and entryCnt
* swarm/storage: add Delete to LDBStore
* swarm/storage: wait for garbage collection
2018-09-12 14:39:45 +02:00
Viktor Trón
bfce00385f
Kademlia refactor ( #17641 )
...
* swarm/network: simplify kademlia/hive; rid interfaces
* swarm, swarm/network/stream, swarm/netork/simulations,, swarm/pss: adapt to new Kad API
* swarm/network: minor changes re review; add missing lock to NeighbourhoodDepthC
2018-09-12 11:24:56 +02:00
Viktor Trón
6dd87483d4
Encryption async api ( #17603 )
...
* swarm/storage/encryption: async segmentwise encryption/decryption
* swarm/storage: adapt hasherstore to encryption API change
* swarm/api: adapt RefEncryption for AC to new Encryption API
* swarm/storage/encryption: address review comments
2018-09-11 11:39:02 +02:00
Elad
8b9b149d54
swarm/api/http: bzz-immutable wrong handler bug ( #17602 )
2018-09-07 15:23:29 +02:00
Elad
70d31fb278
cmd/swarm: added password to ACT ( #17598 )
2018-09-07 09:56:05 +02:00
Elad
580145e96d
swarm/storage: added metrics for db entry count ( #17589 )
2018-09-06 12:11:38 +02:00
Elad
4c15ffffdd
swarm/api/http: added a regression test for resolver bug from #17483 ( #17502 )
2018-09-06 12:08:39 +02:00
Péter Szilágyi
62e94895da
params, swarm: begin geth v1.8.16 and swarm v0.3.4 cycle
2018-08-29 18:27:43 +03:00
Péter Szilágyi
89451f7c38
params, swarm: release geth v1.8.15 and swarm 0.3.3
2018-08-29 18:24:32 +03:00
Geon Kim
1acefafe22
swarm/api: fix typo ( #17500 )
2018-08-27 11:51:58 +03:00
Wenbiao Zheng
d1aa605f1e
all: remove the duplicate 'the' in annotations ( #17509 )
2018-08-27 11:49:29 +03:00
Elad
f34f361ca6
swarm/api/http: fixed resolver bug ( #17483 )
2018-08-22 17:53:33 +03:00
Péter Szilágyi
2993fb519d
params, swarm: begin geth v1.8.15 and swarm v0.3.3 cycle
2018-08-22 11:42:03 +03:00
Péter Szilágyi
316fc7ecfc
params, swarm: release Geth v1.8.14 and Swarm v0.3.2
2018-08-22 11:39:00 +03:00
Geon Kim
522cfc68ff
swarm: fix typos ( #17473 )
2018-08-21 21:13:33 +03:00
Anton Evangelatov
c582667c9b
swarm/network: bump bzz protocol version ( #17449 )
2018-08-21 11:34:40 +03:00
Anton Evangelatov
dcd97c41fa
swarm, swarm/network, swarm/pss: log error and fix logs ( #17410 )
...
* swarm, swarm/network, swarm/pss: log error and fix logs
* swarm/pss: log compressed publickey
2018-08-21 11:34:10 +03:00
Anton Evangelatov
a8aa89accb
swarm/storage: cleanup task - remove bigger chunks ( #17424 )
2018-08-20 15:10:30 +03:00
Elad
c4078fc805
cmd/swarm: added swarm bootnodes ( #17414 )
2018-08-20 15:09:50 +03:00
Elad
e8752f4e9f
cmd/swarm, swarm: added access control functionality ( #17404 )
...
Co-authored-by: Janos Guljas <janos@resenje.org>
Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>
Co-authored-by: Balint Gabor <balint.g@gmail.com>
2018-08-15 17:41:52 +02:00
Anton Evangelatov
97887d98da
swarm/network, swarm/storage: validate chunk size ( #17397 )
...
* swarm/network, swarm/storage: validate default chunk size
* swarm/bmt, swarm/network, swarm/storage: update BMT hash initialisation
* swarm/bmt: move segmentCount to tests
* swarm/chunk: change chunk.DefaultSize to be untyped const
* swarm/storage: add size validator
* swarm/storage: add chunk size validation to localstore
* swarm/storage: move validation from localstore to validator
* swarm/storage: global chunk rules in MRU
2018-08-14 16:03:56 +02:00
Janoš Guljaš
6d1e292eef
Manifest cli fix and upload defaultpath only once ( #17375 )
...
* cmd/swarm: fix manifest subcommands and add tests
* cmd/swarm: manifest update: update default entry for non-encrypted uploads
* swarm/api: upload defaultpath file only once
* swarm/api/client: improve UploadDirectory default path handling
* cmd/swarm: support absolute and relative default path values
* cmd/swarm: fix a typo in test
* cmd/swarm: check encrypted uploads in manifest update tests
2018-08-10 16:12:55 +02:00
Elad
3ec5dda4d2
swarm/api/http: added logging to denote request ended ( #17371 )
2018-08-10 13:49:37 +02:00
Janoš Guljaš
3bcb501c8f
swarm/api: close tar writer in GetDirectoryTar to flush and clean ( #17339 )
2018-08-09 16:15:07 +02:00
Giulio M
a1eb9c7d13
swarm/api/http: fixed list leaf links ( #17342 )
2018-08-08 09:33:06 +02:00
Janoš Guljaš
00e6da9704
swarm/bmt: ignore data longer then 4096 bytes in Hasher.Write ( #17338 )
2018-08-07 15:34:33 +02:00
Attila Gazso
9df16f3468
swarm: Added lightnode flag ( #17291 )
...
* swarm: Added lightnode flag
Added --lightnode command line parameter
Added LightNode to Handshake message
* swarm/config: Fixed variable naming
* cmd/swarm: Changed BoolTFlag to BoolFlag for SwarmLightNodeEnabled
* swarm/network: Changed logging
* swarm/network: Changed protocol version testing
* swarm/network: Renamed DefaultNetworkID variable to TestProtocolNetworkID
* swarm/network: Bumped protocol version
* swarm/network: Changed LightNode handhsake test to table driven
* swarm/network: Changed back TestProtocolVersion to 5 for now
* swarm/network: Moved the test configuration inside the test function scope
2018-08-07 15:34:11 +02:00
Elad
4bb2dc3d09
swarm/api/http: test fixes ( #17334 )
2018-08-07 13:40:38 +02:00
Oleg Kovalov
cf05ef9106
p2p, swarm, trie: avoid copying slices in loops ( #17265 )
2018-08-07 13:56:40 +03:00
Anton Evangelatov
de9b0660ac
swarm/README: add more sections to easily onboard developers ( #17333 )
2018-08-07 12:56:01 +02:00
Andrew Chiw
042191338d
swarm/api/http: GET/PUT/PATCH/DELETE/POST multipart form unit tests. ( #17277 )
...
httpDo has a verbose option that dumps the HTTP request
2018-08-07 12:00:12 +02:00
Elad
93fe16b0a5
swarm/api/http: refactored http package ( #17309 )
2018-08-07 11:56:55 +02:00
Javier Peletier
64a4e89504
swarm/storage/mru: HOTFIX - fix panic in Handler.update ( #17313 )
2018-08-07 11:53:56 +02:00
Janoš Guljaš
a72ba5a55b
cmd/swarm, swarm: various test fixes ( #17299 )
...
* swarm/network/simulation: increase the sleep duration for TestRun
* cmd/swarm, swarm: fix failing tests on mac
* cmd/swarm: update TestCLISwarmFs skip comment
* swarm/network/simulation: adjust disconnections on simulation close
* swarm/network/simulation: call cleanups after net shutdown
2018-08-06 12:33:22 +03:00
Péter Szilágyi
454382e81a
params, swarm/version: begin Geth v1.8.14, Swarm v0.3.2 cycle
2018-07-31 13:39:22 +03:00
Péter Szilágyi
225171a4bf
params, swarm/version: release Geth v1.8.13, Swarm 0.3.1
2018-07-31 13:35:53 +03: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
Anton Evangelatov
273c7a9dc4
swarm/api: remove ioutil.ReadAll for HandleGetFiles ( #17276 )
2018-07-30 12:19:26 +03:00
Anton Evangelatov
a5d5609e38
build: rename swarm deb package to ethereum-swarm; change swarm deb version from 1.8.x to 0.3.x ( #16988 )
...
* build: add support for different package and binary names
* build: bump up copyright date
* build: change default PackageName to empty string
* build, internal, swarm: enhance build/release process
* build: hack ethereum-swarm as a "depends" in deb package
* build/ci: remove redundant variables
* build, cmd, mobile, params, swarm: remove VERSION file; rename Version to VersionMeta;
* internal: remove VERSION() method which reads VERSION file
* build: fix VersionFilePath to Version
* Makefile: remove clean_go_build_cache.sh until it works
* Makefile: revert removal of clean_go_build_cache.sh
2018-07-30 11:56:40 +03:00
Viktor Trón
1064b9e691
Merge pull request #17233 from ethersphere/swarm-readme
...
swarm: README.md
2018-07-25 05:38:14 +02:00