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
mr_franklin
3fd87f2193
core: fix comment typo ( #18144 )
2018-11-21 12:52:02 +02:00
a-sklyarov
c7e522fd17
Update minimum required Go version in README.md ( #18151 )
2018-11-21 12:38:49 +02:00
Guillaume Ballet
5d80a1b665
whisper/mailserver: reduce the max number of opened files ( #18142 )
...
This should reduce the occurences of travis failures on MacOS
Also fix some linter warnings
2018-11-20 20:14:37 +01:00
Franklin
21dd59bd04
.
2018-11-20 22:16:40 +08:00
Martin Holst Swende
493903eede
core: better side-chain importing
2018-11-20 12:28:43 +02:00
Anton Evangelatov
3d997b6dec
whisper: log errors on failed tests ( #18134 )
...
Debug traces to investigate a travis issue on MacOS
2018-11-20 10:08:02 +01:00
Ferenc Szabo
d876f214e5
swarm/storage: move 'running migrations for' log line ( #18120 )
...
So that we only see the log message when we actually have to migrate.
2018-11-20 08:30:38 +01:00
Javier Peletier
7bf7bd2f50
internal/cmdtest: Expose process exit status and errors ( #18046 )
2018-11-20 08:23:43 +01:00
Anton Evangelatov
d31f1f4fdb
cmd/swarm/swarm-smoke: update smoke tests to fit the new scheme for the k8s cluster ( #18104 )
2018-11-19 14:58:10 +01:00
Anton Evangelatov
6b6c4d1c27
cmd/swarm: speed up tests - use global cluster ( #18129 )
2018-11-19 14:57:22 +01:00
Anton Evangelatov
3333fe660f
swarm/storage: speed up garbage collection and rpc tests ( #18128 )
2018-11-19 12:26:45 +01:00
Elad
51e2e78d26
swarm/api/http: change request served msg log level ( #18127 )
2018-11-18 10:54:03 +01:00
Péter Szilágyi
d136e985e8
trie: go fmt package
2018-11-16 16:35:39 +02:00
Péter Szilágyi
91c66d47ef
Merge pull request #18085 from holiman/downloader_span
...
downloader: different sync strategy
2018-11-16 16:34:30 +02:00
Péter Szilágyi
accc0fab4f
core, eth/downloader: fix ancestor lookup for fast sync
2018-11-16 13:21:20 +02:00
Martin Holst Swende
51b2f1620c
downloader: different sync strategy
2018-11-16 11:54:36 +02:00
Łukasz Kurowski
68be45e5f8
trie: return hasher to pool ( #18116 )
...
* trie: return hasher to pool
* trie: minor code formatting fix
2018-11-16 11:50:48 +02: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
Janoš Guljaš
324027640b
swarm/network/simulation: use simulations.Event instead p2p.PeerEvent ( #18098 )
2018-11-15 21:06:27 +01:00
mr_franklin
b91766fe6d
eth: fix comment typo ( #18114 )
...
* consensus/clique: fix comment typo
* eth,eth/downloader: fix comment typo
2018-11-15 16:31:24 +02:00
lash
a6942b9f25
swarm/storage: Batched database migration ( #18113 )
2018-11-15 14:57:03 +01:00
Péter Szilágyi
17d67c5834
Merge pull request #18087 from karalabe/trie-read-cacher
...
cmd, core, eth, light, trie: add trie read caching layer
2018-11-15 14:42:19 +02:00
Péter Szilágyi
434dd5bc00
cmd, core, eth, light, trie: add trie read caching layer
2018-11-15 12:22:13 +02:00
Kenso Trabing
14346e4ef9
internal: fix typo in comments ( #18106 )
...
Changed "signTransactions" to "signTransaction"
2018-11-15 11:11:14 +02:00
Sheldon
b8a2ac3fcf
les: fix pubkey index typo ( #18093 )
2018-11-15 11:10:45 +02:00
mr_franklin
9a000601c6
consensus/clique: fix comment typo ( #18103 )
2018-11-14 14:50:30 +02:00
Kenso Trabing
23de6197f9
rpc: fix package doc typo ( #18101 )
...
Changed "send" to "send," in two places
2018-11-14 12:21:52 +02:00
Kenso Trabing
698843b45f
rpc: fix example typo ( #18100 )
...
whishes --> wishes
2018-11-14 12:21:10 +02:00
Péter Szilágyi
48b4e8069c
params, swarm: begin Geth v1.8.19 and Swarm v0.3.7 cycle
2018-11-14 10:27:30 +02:00
Péter Szilágyi
58632d4402
params, swarm: release Geth v1.8.18 and Swarm v0.3.6
2018-11-14 10:25:19 +02:00
Alexey Sharov
eb8fa3cc89
cmd/swarm, swarm/api/http, swarm/bmt, swarm/fuse, swarm/network/stream, swarm/storage, swarm/storage/encryption, swarm/testutil: use pseudo-random instead of crypto-random for test files content generation ( #18083 )
...
- Replace "crypto/rand" to "math/rand" for files content generation
- Remove swarm/network_test.go.Shuffle and swarm/btm/btm_test.go.Shuffle - because go1.9 support dropped (see https://github.com/ethereum/go-ethereum/pull/17807 and comments to swarm/network_test.go.Shuffle)
2018-11-14 09:21:14 +01:00
Péter Szilágyi
cff97119a7
Merge pull request #18097 from karalabe/update-chts-2
...
params: update CHTs
2018-11-14 10:20:51 +02:00
Péter Szilágyi
cef7ed53bd
params: update CHTs
2018-11-14 10:16:28 +02:00
Ferenc Szabo
c41e1bd1eb
swarm/storage: fix garbage collector index skew ( #18080 )
...
On file access LDBStore's tryAccessIdx() function created a faulty
GC Index Data entry, because not indexing the ikey correctly.
That caused the chunk addresses/hashes to start with '00' and the last
two digits were dropped. => Incorrect chunk address.
Besides the fix, the commit also contains a schema change which will
run the CleanGCIndex() function to clean the GC index from erroneous
entries.
Note: CleanGCIndex() rebuilds the index from scratch which can take
a really-really long time with a huge DB (possibly an hour).
2018-11-13 15:22:53 +01:00
mr_franklin
4fecc7a3b1
eth: fix minor grammar issue in comment ( #18091 )
2018-11-13 11:57:46 +02:00
mr_franklin
588aa88121
github: format code owners file ( #18090 )
...
replace tabs by spaces in the code owners file
2018-11-13 11:02:04 +02:00
Ferenc Szabo
8080265f3f
swarm/storage: fix access count on dbstore after cache hit ( #17978 )
...
Access count was not incremented when chunk was retrieved
from cache. So the garbage collector might have deleted the most
frequently accessed chunk from disk.
Co-authored-by: Ferenc Szabo <ferenc.szabo@ethereum.org>
2018-11-13 07:41:01 +01:00
gary rong
1212c7b844
core: fix default trie cache limit ( #17860 )
2018-11-12 18:06:34 +02:00
lash
201a0bf181
p2p/simulations, swarm/network: Custom services in snapshot ( #17991 )
...
* p2p/simulations: Add custom services to simnodes + remove sim down conn objs
* p2p/simulation, swarm/network: Add selective services to discovery sim
* p2p/simulations, swarm/network: Remove useless comments
* p2p/simulations, swarm/network: Clean up mess from rebase
* p2p/simulation: Add sleep to prevent connect flakiness in http test
* p2p/simulations: added concurrent goroutines to prevent sleeps on simulation connect/disconnect
* p2p/simulations, swarm/network/simulations: address pr comments
* reinstated dummy service
* fixed http snapshot test
2018-11-12 14:57:17 +01:00
Andrew Chiw
a0876f7433
Imply that SwarmApiFlag is the API endpoint to connect to, not to listen on ( #18071 )
2018-11-12 13:04:13 +01:00
Corey Lin
1ff152f3a4
rawdb: remove unused parameter for WritePreimages func ( #18059 )
...
* rawdb: remove unused parameter for WritePreimages func and modify a
spelling mistake
* rawdb: update the doc for function WritePreimages
2018-11-09 12:51:07 +02:00
Kurkó Mihály
f574c4e74b
metrics, p2p: add ephemeral registry ( #18067 )
...
* metrics, p2p: add ephemeral registry
* metrics: fix linter issue
2018-11-09 10:20:51 +01:00
Felix Lange
870efeef01
core/state: remove lock ( #18065 )
...
The lock in StateDB is useless. It's only held in Copy, but Copy is safe
for concurrent use because all it does is read.
2018-11-08 21:37:19 +01:00
gary rong
144c1c6c52
consensus: extend getWork API with block number ( #18038 )
2018-11-08 17:08:57 +02:00