Evgeny Danilenko
ce1c14809b
deadlock-fix ( #206 )
2019-11-27 16:49:05 +00:00
ledgerwatch
a521aef296
Run archive node by default ( #204 )
...
* Make archive mode default again
* Fix test
* Remove bad file
* Change default of NoHistory to false
2019-11-27 15:50:40 +00:00
Andrew Ashikhmin
84285a5ab1
Roughly finish with adding BadgerDB (first cut) ( #203 )
...
* Bumping GOMAXPROCS for Badger
* fixes related to database size
* Schedule GC for Badger
* pacify linter
* Don't start GC for ephemeral Badger
* Don't log "Value log GC attempt didn't result in any cleanup"
* Start GC in backround
* Bump GC period and IdealBatchSize for Badger
* BadgerDatabase RewindData
* Boolean badger flag -> string database flag
* cosmetic change
2019-11-27 13:15:25 +00:00
Igor Mandrigin
4fb54a7b82
Write proper stats to the CSV file; restore charting capabilities. ( #201 )
2019-11-26 14:29:41 +01:00
Evgeny Danilenko
f2081b3591
In case of termination errors should be returned ( #175 )
...
* return errors
* fmt
2019-11-21 18:37:33 +00:00
ledgerwatch
244d70fb9c
Further fixes for the no-mod-root ( #186 )
...
* Further fixes
* Repace 1000 with a symbol
2019-11-21 15:56:39 +00:00
Andrew Ashikhmin
1c0cf9be72
BadgerDB: MultiWalk & some other APIs, command line flag, scaffolding for testing ( #183 )
...
* BadgerDatabase MemCopy
* fix err shadowing
* BadgerDatabase MultiPut & NewBatch
* Remove goOn from MultiWalk & MultiWalkAsOf
* BadgerDatabase MultiWalk. Scaffolding for testing Badger in blockchain_test
* Badger Flag
* fix error logging
* Split IdealBatchSize between BoltDB and BadgerDB
* NewEphemeralBadger
2019-11-21 16:12:38 +01:00
Igor Mandrigin
aa71b298cc
Write tape stats to a csv file. ( #185 )
2019-11-21 15:09:21 +01:00
ledgerwatch
c187d80152
Preparations for computing root without modifying the trie ( #172 )
...
Preparations for computing root without modifying the trie
2019-11-15 22:48:49 +00:00
Evgeny Danilenko
03dd91d4e6
Merge pull request #158 from ledgerwatch/fix-data-races
...
Fix data races and goroutine leaks
2019-11-15 17:25:32 +03:00
Igor Mandrigin
50bb08d08d
Don't store RLPs in valueNodes (except tests).
2019-11-15 13:31:09 +01:00
Evgeny Danienko
3cc627421f
Merge branch 'master' into fix-data-races
2019-11-15 15:22:22 +03:00
Evgeny Danienko
700e7b89ed
fix linters
2019-11-15 15:08:37 +03:00
Igor Mandrigin
00074e0ed7
Don't store RLPs in valueNodes (except tests).
2019-11-13 20:08:20 +01:00
andrew
81d0d84ed4
Merge branch 'master' into badger2
2019-11-11 21:06:48 +01:00
andrew
4a9faff349
Delete chain_indexer_test altogether
2019-11-11 20:12:19 +01:00
andrew
404c5896a3
Disable TestChainIndexerWithChildren as unstable
2019-11-11 20:04:43 +01:00
Alexey Akhunov
a1f599c2ee
Fixes from review
2019-11-11 17:03:39 +00:00
Alexey Akhunov
14b45ea50b
Downloader flag
2019-11-11 16:58:50 +00:00
andrew
8cb8544c45
Merge branch 'master' into badger2
2019-11-11 17:12:28 +01:00
Igor Mandrigin
fae6fe0775
Merge pull request #156 from ledgerwatch/issue-148
...
Use `GenStructStep` from `structural_2` in `DeriveSha`.
2019-11-11 13:24:46 +01:00
Evgeny Danienko
c0bcee68cc
Merge branch 'master' into fix-data-races
2019-11-07 18:59:44 +03:00
b00ris
6e880cc945
suffix to changeset rename ( #152 )
2019-11-07 18:51:25 +03:00
b00ris
0180e372f8
Fix pruning start ( #139 )
...
* fix
* fix lint
* save state
* fix test
* add comment
* fix lint
2019-11-07 18:51:06 +03:00
Igor Mandrigin
02af800e66
Use GenStructStep
from structural_2
in DeriveSha
.
2019-11-07 16:14:33 +01:00
andrew
93ff66f900
Merge branch 'master' into badger2
2019-11-07 15:55:57 +01:00
Igor Mandrigin
ae633ff296
Remove Copy
from IntraBlockState
and use references instead of copies in other places.
2019-11-07 13:32:20 +01:00
Evgeny Danienko
e2605ba0ee
wg data race
2019-11-07 13:32:00 +03:00
Alexey Akhunov
150cad87e9
Fix suicideStorageCheck block tests
2019-11-05 17:01:54 +00:00
andrew
9be775c8bd
Port my work from badger after the master rebase
2019-11-05 13:28:36 +01:00
b00ris
9eb7d8b1c2
Suffix reorg ( #113 )
2019-11-04 14:15:26 +01:00
Andrew Ashikhmin
e14b02e1c9
Merge pull request #135 from ledgerwatch/badger
2019-11-04 14:15:26 +01:00
ledgerwatch
f760001638
Merge pull request #112 from ledgerwatch/block_witness
2019-11-04 14:15:26 +01:00
ledgerwatch
f0dd8f407e
Merge pull request #125 from ledgerwatch/broken_snapshot
...
Not to wrap storage values into RLP during reorgs
2019-11-04 14:15:26 +01:00
Andrew Ashikhmin
6992db3180
Merge pull request #121 from ledgerwatch/red-queen
2019-11-04 14:15:26 +01:00
ledgerwatch
d1c8416270
Merge pull request #114 from ledgerwatch/fix_sync_crash
...
Fix the sync crash due to the mis-accounting of prunable entries
2019-11-04 14:15:26 +01:00
Alexey Akhunov
fe01bccbb8
Apply Turbo-Geth modifications to go-ethereum codebase
2019-11-01 21:52:03 +01:00
Martin Holst Swende
ead711779d
core: initialize current block/fastblock atomics to nil, fix #19286 ( #19352 )
2019-09-26 11:10:35 +02:00
zcheng9
2133f18f15
core/state: fix database leak and copy tests ( #19306 )
2019-09-26 11:09:59 +02:00
ywzqwwt
1a6ef5ae58
core/blockchain: remove block from futureBlocks on error ( #19763 )
2019-09-26 10:57:51 +02:00
Ryan Schneider
ad03d9801c
internal/ethapi: support block number or hash on state-related methods ( #19491 )
...
This change adds support for EIP-1898.
2019-09-26 10:47:31 +02:00
Péter Szilágyi
a308f012ba
core/state: fix copy-commit-copy ( #20113 )
...
* core/state: revert noop finalise, fix copy-commit-copy
* core/state: reintroduce net sstore tracking, extend tests for it
2019-09-24 10:49:59 +03:00
gary rong
05347b3d98
core/state: fix state object deep copy ( #20100 )
...
deepCopy didn't copy pending storage updates, leading to the
creation of blocks with invalid state root.
2019-09-20 11:55:44 +02:00
Péter Szilágyi
f9eb307216
core/forkid, params: fix tests, enable Istanbul on Rinkeby + testers
2019-09-19 10:13:11 +03:00
Péter Szilágyi
f40ff23b7b
core: fix tx dedup return error count
2019-09-18 11:42:47 +03:00
Felföldi Zsolt
0ac9bbba6c
les: multiple server bugfixes ( #20079 )
...
* les: detailed relative cost metrics
* les: filter txpool relative request statistic
* les: initialize price factors
* les: increased connected bias to lower churn rate
* les: fixed clientPool.setLimits
* core: do not use mutex in GetAncestor
* les: bump factor db version again
* les: add metrics
* les, light: minor fixes
2019-09-17 16:28:41 +03:00
Péter Szilágyi
056183c056
core: dedup known transactions without global lock, track metrics
2019-09-17 15:55:06 +03:00
Martin Holst Swende
8d41e885e6
core: smaller txpool status locking ( #20080 )
...
* txpool: smaller lock portion
* core/tx_pool: fix data race
2019-09-17 10:34:28 +03:00
Martin Holst Swende
f49d6e5ec0
core: add blockchain test too for revert cornercase
2019-09-16 11:42:14 +03:00
Péter Szilágyi
223b950944
core/state: accumulate writes and only update tries when must
2019-09-16 11:05:57 +03:00