Commit graph

12491 commits

Author SHA1 Message Date
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
AnilChinchawale
5709546dfd filter txs before add to pool 2018-11-14 11:32:40 +05:30
parmarrushabh
abd494055b fix err download block on masternode 2018-11-14 11:29:48 +05:30
parmarrushabh
52ae30023a refactor RW & pairRW connect for block , transaction 2018-11-14 10:40:05 +05:30
AnilChinchawale
f2332e0d11 update smart contract after audit, change to solc 0.4.21 2018-11-14 10:14:49 +05:30
AnilChinchawale
2bcb530ca6 Update wizard_genesis.go 2018-11-14 18:12:57 +05:30
parmarrushabh
2b21303fc0 Fixed foundation balance to 16m. 2018-11-14 18:11:03 +05:30
parmarrushabh
1596ba2489 Fixed genesis for add team MSW contract. 2018-11-14 18:07:45 +05:30
AnilChinchawale
146e73a6e9 Fixed wait period longer in when near checkpoit block for all MNs. 2018-11-14 17:58:21 +05:30
AnilChinchawale
abaa9703e6 fix block gas limit 2018-11-14 17:46:38 +05:30
MestryOmkar
4c9978f656 Increase gasprice from 1 to 2500 2018-11-14 17:44:47 +05:30
MestryOmkar
bfaff54187 tmp decrease maxpeers 50 to save CPUs 2018-11-14 17:43:01 +05:30
MestryOmkar
3747396d73 create tmp mainnet genesis block 2018-11-14 17:37:33 +05:30
parmarrushabh
ae06c120a7 Fixed reward only for masternodes in block checkpoint. 2018-11-14 17:08:41 +05:30
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
parmarrushabh
8562d53da0 Fixed delay longer than 10 seconds when near at block checkpoint. 2018-11-12 16:54:06 +05:30
AnilChinchawale
6f4bb10efd sort by big.Int 2018-11-12 16:16:24 +05:30
MestryOmkar
d3fc7da872 Fixed gasprice minimum 2500 for get gasprice api. 2018-11-12 16:09:28 +05:30
MestryOmkar
bbadba469b change difficulty block in XDPoS 2018-11-12 15:52:55 +05:30
parmarrushabh
176b51f1f8 ignore faster with block no validator m2 2018-11-12 15:41:24 +05:30
AnilChinchawale
ec1935a2c4 update devnet genesis, include DV and slashing 2018-11-12 15:33:43 +05:30
parmarrushabh
f023a88fc5 upgrade github.com/rjeczalik/notify 2018-11-12 15:29:53 +05:30
MestryOmkar
4e1b835434 enable txPool flags 2018-11-12 15:09:35 +05:30
parmarrushabh
2a4d8db5da fix gas limit for block equal param 2018-11-12 13:10:40 +05:30
parmarrushabh
f586154a8e fix error transaction underpriced when add sign tx to pool(full) 2018-11-12 13:08:55 +05:30
AnilChinchawale
72bc872939 fix unit test: remove td test 2018-11-12 12:56:06 +05:30
AnilChinchawale
1eda4b653c stop node when updateM1 fails 2018-11-12 12:51:18 +05:30
MestryOmkar
54543deb8a fix reorg unit test 2018-11-12 12:44:22 +05:30
MestryOmkar
5111364215 fix error double validation : m2 not validate body before verify block 2018-11-12 12:39:52 +05:30
parmarrushabh
05ea5f10f7 fix unit test tx pool 2018-11-12 12:10:22 +05:30
AnilChinchawale
592259eb73 refactor RemoveItemFromArray 2018-11-12 12:06:38 +05:30