Commit graph

10334 commits

Author SHA1 Message Date
Janos Guljas
b6f5b7a23f swarm/storage/localstore: add semaphore for updateGC goroutine 2018-12-13 11:17:54 +01:00
Janos Guljas
e6bdda7078 swarm/storage/localstore: accessors redesign 2018-12-13 10:25:48 +01:00
Janos Guljas
f2299f4703 swarm/storage/localstore: add retrieval tests benchmarks 2018-12-07 15:04:38 +01:00
Janos Guljas
d58e1ee5e0 swarm/storage/localstore: add BenchmarkNew 2018-12-07 14:05:25 +01:00
Janos Guljas
cf3ec30de4 swarm/storage/localstore: update comments 2018-12-07 09:45:48 +01:00
Janos Guljas
7b8510e977 swarm/storage/localhost: add DB.gcSize 2018-12-06 14:09:42 +01:00
Janos Guljas
6e8b2ad46e swarm/storage/localstore: add updateOnAccess function 2018-12-06 11:31:48 +01:00
Janos Guljas
58c7f11e46 swarm/storage/localstore: change how batches are written 2018-12-06 11:04:09 +01:00
Janos Guljas
e6a71961a5 swarm/storage/localstore: add TestDB_gcIndex 2018-12-06 10:25:00 +01:00
Janos Guljas
35376d8b2b swarm/storage/localstore: add TestDB_pullIndex 2018-12-05 12:06:04 +01:00
Janos Guljas
b782bfe464 swarm/storage/localstore: add mock store option for chunk data 2018-12-05 09:43:38 +01:00
Janos Guljas
96409ff600 swarm/storage/localstore: add TestModeRemoval 2018-12-04 15:01:45 +01:00
Janos Guljas
af1b137226 swarm/storage/localstore: add TestModeAccess 2018-12-04 14:30:04 +01:00
Janos Guljas
4d58a6f691 swarm/storage/localstore: add TestModeSynced 2018-12-04 12:26:44 +01:00
Janos Guljas
2d928bf134 swarm/storage/localstore: add TestModeRequest 2018-12-03 17:22:06 +01:00
Janos Guljas
58f3f86ef4 swarm/storage/localstore: add TestModeUpload 2018-12-03 16:58:34 +01:00
Janos Guljas
391faa7272 swarm/storage/localstore: fix test name 2018-12-03 13:42:10 +01:00
Janos Guljas
c7beb228e6 swarm/storage/localstore: add TestModeSyncing 2018-12-03 13:41:32 +01:00
Janos Guljas
cbb510bb3c swarm/storage/localstore: add WithRetrievalCompositeIndex 2018-12-03 12:31:24 +01:00
Janos Guljas
572f3cb960 swarm/storage/localstore: unexport modeAccess and modeRemoval 2018-12-03 10:54:16 +01:00
Janos Guljas
b1ded5a80b swarm/storage/localstore: decrement size counter on ModeRemoval update 2018-12-03 10:41:21 +01:00
Janos Guljas
37205de1e1 swarm/shed: add uint64 field Dec and DecInBatch methods 2018-12-03 10:40:17 +01:00
Janos Guljas
9ec535a28a swarm/storage/localstore: fix typos and comments 2018-12-03 10:24:51 +01:00
Janos Guljas
d8acb127a3 swarm/storage/localstore: most basic database 2018-11-29 15:37:12 +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
Janoš Guljaš
c207edf2a3 swarm: add database abstractions (shed package) (#18183) 2018-11-26 18:49:01 +01:00
Javier Peletier
4f0d978eaa cmd/swarm: update should error on manifest mismatch (#18047)
* cmd/swarm: fix ethersphere/go-ethereum#979:

update should error on manifest mistmatch

* cmd/swarm: fixed comments and remove sprintf from log.Info

* cmd/swarm: remove unnecessary comment
2018-11-26 17:37:59 +01:00
lash
1cd007ecae swarm/network: Correct neighborhood depth (#18066) 2018-11-26 17:13:59 +01:00
holisticode
bba5fd8192 Accounting metrics reporter (#18136) 2018-11-26 17:05:18 +01:00
Javier Peletier
2714e8f091 Remove multihash from Swarm bzz:// for Feeds (#18175) 2018-11-26 16:10:22 +01:00
Paweł Bylica
0699287440 tests: Add flag to use EVMC for state tests (#18084) 2018-11-26 16:09:32 +01:00
lash
197d609b9a swarm/pss: Message handler refactor (#18169) 2018-11-26 13:52:04 +01:00
Sheldon
ca228569e4 light: odrTrie tryUpdate should use update (#18107)
TryUpdate does not call t.trie.TryUpdate(key, value) and calls t.trie.TryDelete
instead. The update operation simply deletes the corresponding entry, though
it could retrieve later by odr. However, it adds further network overhead.
2018-11-26 13:27:49 +01:00
Elad
f5e6634fd2 swarm/api: improve not found error msg (#18171) 2018-11-26 12:53:15 +01:00
Janoš Guljaš
93854bbad4 swarm/network/simulation: fix New function for-loop scope (#18161) 2018-11-26 12:39:38 +01:00
Felföldi Zsolt
f0515800e6 les: fix fetcher syncing logic (#18072) 2018-11-26 13:34:33 +02:00
Péter Szilágyi
bb29d20828
Merge pull request #18179 from holiman/fix_tests
config: add constantinople block to testchainconfig
2018-11-26 11:33:09 +02:00
Jaynti Kanani
38592a13a3 fix mixHash/nonce for parity compatible network (#18166) 2018-11-26 09:59:04 +01:00
Martin Holst Swende
a5898ba621
config: add constantinople block to testchainconfig 2018-11-26 09:55:45 +01:00
mr_franklin
2a113f6d72 core: return error if repair block failed (#18126)
* core: return error if repair block failed

* make error a bit shorter
2018-11-23 11:16:14 +02:00
Felix Lange
b24ef5e05d eth: increase timeout in TestBroadcastBlock (#18064) 2018-11-23 11:14:09 +02:00
Ferenc Szabo
76f5f662cc cmd/swarm: FUSE do not require --ipcpath (#18112)
- Have `${DataDir}/bzzd.ipc` as IPC path default.
- Respect the `--datadir` flag.
- Keep only the global `--ipcpath` flag and drop the local `--ipcpath` flag
  as flags might overwrite each other. (Note: before global `--ipcpath`
  was ignored even if it was set)

fixes ethersphere#795
2018-11-23 01:32:34 +01:00
Anton Evangelatov
6b2cc8950e travis: increase open file limits (#18155) 2018-11-22 16:32:50 +02:00
Martin Holst Swende
2843001ac2 trie: fix overflow in write cache parent tracking (#18165)
trie/database: fix overflow in parent tracking
2018-11-22 15:14:31 +02:00
Enrique Fynn
9d5e3e0637 params: add Constantinople block to AllXYZProtocolChanges (#18162)
* params: Add Constantinople block to AllCliqueProtocolChanges

* params: Add Constantinople block to AllEthashProtocolChanges
2018-11-22 15:03:50 +02:00
Péter Szilágyi
3ba0418a9a
Merge pull request #17973 from holiman/splitter2
core: better side-chain importing
2018-11-22 15:01:10 +02:00
Martin Holst Swende
e0d091e090 core: better printout of receipts in bad block reports (#18156)
* core/blockchain: better printout of receipts in bad block reports

* fix splleing
2018-11-22 11:00:16 +02:00
Janoš Guljaš
070caec4bd swarm/network/stream: use swarm/mock/mem as mock global store (#18157) 2018-11-21 20:49:13 +01:00
Anton Evangelatov
4c181e4fb9
swarm/state: refactor InmemoryStore (#18143) 2018-11-21 14:36:56 +01:00
Péter Szilágyi
333b5fb123
core: polish side chain importer a bit 2018-11-21 13:19:56 +02:00