Commit graph

10438 commits

Author SHA1 Message Date
Janos Guljas
38bdf7f6b8 swarm/storage/localstore: add more subscriptions tests 2018-12-21 11:28:30 +01:00
Janos Guljas
5488a2b160 swarm/storage/localstore: implement feed subscriptions 2018-12-20 18:25:01 +01:00
Janos Guljas
2299147176 swarm/shed: pass a new byte slice copy to index decode functions 2018-12-20 15:41:32 +01:00
Janos Guljas
67473be38a swarm/storage/localstore: use shed Iterate function 2018-12-19 22:37:10 +01:00
Janos Guljas
d54d7ae0f8 swamr/shed: only one Index Iterate function 2018-12-19 22:35:59 +01:00
Janos Guljas
da9bab4a7d swarm/storage/localstore: fix a typo 2018-12-19 16:36:22 +01:00
Janos Guljas
c9f51302df swarm/storage/localstore: add MetricsPrefix option 2018-12-19 16:18:40 +01:00
Janos Guljas
cb8078e53d Merge branch 'master' into localstore 2018-12-19 15:34:37 +01:00
Janos Guljas
5ad0c8db68 swarm/storage/localstore: additional comment in writeGCSizeWorker 2018-12-19 15:29:15 +01:00
Janos Guljas
4fca004e86 swarm/storage/localstore: call writeGCSize on DB Close 2018-12-19 14:42:12 +01:00
Janos Guljas
b5a0fd285f swarm/storage/localstore: add triggerGarbageCollection function 2018-12-19 14:34:37 +01:00
Janos Guljas
cee4004dff swarm/storage/localstore: update writeGCSizeWorker comment 2018-12-19 14:27:43 +01:00
Janos Guljas
bca85efff9 swarm/storage/localstore: unexport modeSetRemove 2018-12-19 14:24:14 +01:00
Janos Guljas
80c269b50d swarm/storage/localstore: writeGCSize function with leveldb batch 2018-12-19 14:20:14 +01:00
Janos Guljas
5ebbcb58b6 swarm/shed: IterateWithPrefix and IterateWithPrefixFrom Index functions 2018-12-19 10:33:23 +01:00
Javier Peletier
fe86a707d8 swarm/storage: remove unused methods from Chunk interface (#18283) 2018-12-18 15:25:02 +01:00
Janos Guljas
560532303b swarm/storage/localstore: remove composite retrieval index 2018-12-18 15:24:41 +01:00
lash
b01cfce362 swarm/pss: Reduce input vulnerabilities (#18304) 2018-12-18 15:23:32 +01:00
Janos Guljas
e17fec20f2 swarm/storage/localstore: persist gcSize 2018-12-18 15:05:47 +01:00
Janos Guljas
a486a0905e swarm/shed: add Index.CountFrom 2018-12-18 15:04:33 +01:00
Javier Peletier
de4265fa02 swarm/network/simulation:commented out unreachable code-avoid vet errors (#18263) 2018-12-18 07:24:59 +01:00
holisticode
90ea542e9e Update visualized snapshot test (#18286)
* swarm/network/stream: fix visualized_snapshot_sync_sim_test

* swarm/network/stream: updated visualized snapshot-test;data in p2p event

* swarm/network/stream: cleanup visualized snapshot sync test

* swarm/network/stream: re-enable t.Skip for visualized test

* swarm/network/stream: addressed PR comments
2018-12-18 07:20:59 +01:00
Elad
472c23a801 p2p/simulation: move connection methods from swarm/network/simulation (#18323) 2018-12-17 12:19:01 +01:00
Anton Evangelatov
d322c9d550
swarm/storage/feed: remove unused code (#18324) 2018-12-17 11:32:55 +01:00
Janos Guljas
750268d8d0 swarm/shed, swarm/storage/localstore: rename IndexItem to Item 2018-12-17 10:29:02 +01:00
weimumu
3ad73443c7 fix slice unpack bug in accounts/abi (#18321)
* fix slice unpack bug in accounts/abi
2018-12-17 09:50:52 +01:00
Felix Lange
7dbb075c07
Change issue labels in bot configs to the new prefixed version (#18311) 2018-12-14 15:06:06 +01:00
Guillaume Ballet
aebf9e2fe7 .github: add @gballet as abi codeowner (#18306) 2018-12-14 15:05:22 +01:00
yahtoo
aad3c67a92 p2p/discv5: don't hash findnode target in lookup against table (#18309) 2018-12-14 14:55:51 +01:00
Shuai Qi
fe26b2f366 core/state: rename 'new' variable (#18301) 2018-12-14 14:55:03 +01:00
Adam Schmideg
88d7d4fed4 Change issue labels in bot configs to the new prefixed version 2018-12-14 14:50:10 +01:00
Janos Guljas
e6e29f55ee swarm/storage/localstore: add more garbage collection tests cases 2018-12-14 14:43:44 +01:00
Janos Guljas
ac9d153a1f swarm/storage/localstore: optimize collectGarbage 2018-12-14 13:06:53 +01:00
qd-ethan
9940d93a43 Comment error (#18303) 2018-12-14 11:15:31 +01:00
Martin Holst Swende
3796751efc
rpc: add application/json-rpc as accepted content type, fixes #18293 (#18310) 2018-12-14 11:08:11 +01:00
Janos Guljas
5732c38b1a swarm/storage/localstore: implement basic garbage collection 2018-12-13 15:52:44 +01:00
tzapu
e79821cabe accounts/abi: argument type and name were reversed (#17947)
argument type and name were reversed
2018-12-13 15:12:19 +01:00
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
Shuai Qi
e57e4571d3 crypto/secp256k1: Fix invalid document link (#18297) 2018-12-13 10:25:13 +01:00
Corey Lin
b3be9b7cd8 usbwallet: check returned error when decoding hexstr (#18056)
* usbwallet: check returned error when decoding hexstr

* Update accounts/usbwallet/ledger.go

Co-Authored-By: CoreyLin <514971757@qq.com>

* usbwallet: check hex decode error
2018-12-13 10:21:52 +01:00
Javier Peletier
4e6f53ac33 swarm/storage: simplify ChunkValidator interface (#18285) 2018-12-12 16:22:17 +01:00
Anton Evangelatov
ebbf3dfafb swarm/shed: add metrics to each shed db (#18277)
* swarm/shed: add metrics to each shed db

* swarm/shed: push metrics prefix up

* swarm/shed: rename prefix to metricsPrefix

* swarm/shed: unexport Meter, remove Mutex for quit channel
2018-12-12 07:51:29 +01:00
Péter Szilágyi
1e190a3b1c
params, swarm: begin Geth v1.9.0 family, Swarm v0.3.9 cycle 2018-12-11 14:23:57 +02:00
Péter Szilágyi
24d727b6d6
params, swarm: release Geth v1.8.20 and Swarm v0.3.8 2018-12-11 14:20:21 +02:00
Martin Holst Swende
83a9a73b89 cmd/geth, core, eth: implement Constantinople override flag (#18273)
* geth/core/eth: implement constantinople override flag

* les: implemnent constantinople override flag for les clients

* cmd/geth, eth, les: fix typo, move flag to experimentals
2018-12-11 14:19:03 +02:00
Péter Szilágyi
5584574217
Merge pull request #18281 from karalabe/puppeth-faucet
cmd/faucet, cmd/puppeth: fix enode and compose regressions, expose UDP
2018-12-11 13:55:10 +02:00
Péter Szilágyi
38c3d88cea
cmd/puppeth: support latest docker compose, expose faucet UDP 2018-12-11 13:41:41 +02:00
Péter Szilágyi
69a8d9841a
cmd/faucet: fix faucet static peer regression 2018-12-11 13:41:18 +02:00
Elad
bb724080ca cmd/swarm, metrics, swarm/api/client, swarm/storage, swarm/metrics, swarm/api/http: add instrumentation (#18274) 2018-12-11 09:21:58 +01:00