Alex Sharov
ff23980dc6
Intermediate hash phase 2 ( #341 )
...
* add env INTERMEDIATE_TRIE_CACHE
* try to use assert.New() pattern
* Fix "maligned" linter warnings to reduce space consumption of structs:
core/types/accounts/account.go:18:14: struct of size 136 bytes could be of size 128 bytes (maligned)
type Account struct {
--
trie/node.go:44:10: struct of size 80 bytes could be of size 72 bytes (maligned)
duoNode struct {
--
trie/resolve_set.go:28:17: struct of size 56 bytes could be of size 48 bytes (maligned)
type ResolveSet struct {
--
trie/resolver.go:34:15: struct of size 88 bytes could be of size 72 bytes (maligned)
type Resolver struct {
--
trie/visual.go:32:17: struct of size 104 bytes could be of size 96 bytes (maligned)
type VisualOpts struct {
2020-01-31 14:31:50 +07:00
ledgerwatch
dca36e8b29
Restore the functionality CalcTrieRoots (compute trie root without modifying the trie) ( #327 )
...
* Trace first block
* Fixes for CalcTrieRoots
* Timings of the CalcTrieRoot
* Fix lint
* Add memory profiling
* Reduce allocations in StreamHash
* Fix
* Fix
* Fix
* Optimise allocations
* Reuse streams
* Fixes
* Fix
* Unit test fix
* Fix lint
* Reuse hashbuilder
* No loop
* Reuse resolver
* Fixed tests
* Fix test
* Fix test
* Fix test
* Fix witness threshold
* Optimise allocations in RLP transform
* Optimise allocations in RLP transform
* Optimise branchHash
* 100 times again
* Replace ToStream with Iterator
* StreamMergeIterator
* No streams
* Amplification
* Minimise the use of hashOnly
* 100 times
* Reduce stack operations
* Reduce appends
* More optimisations
* More optimisations
* More optimisations
* local hex
* Small fix
* Remove test
* Fix lint
* Fix lint
* Fix lint
* Add test for empty
* Fix lint
* More tests
* Fix lint
* Add measurement of stateless exec
2020-01-30 13:16:12 +00:00
Igor Mandrigin
1115b23832
Stateless Resolver: store and use witnesses for resolved subtries ( #326 )
2020-01-24 11:58:01 +01:00
Igor Mandrigin
2053d5c64f
add incarnation to HashBuilder ( #318 )
2020-01-15 15:12:33 +01:00
Igor Mandrigin
b7710ff7fa
New Witness Format (and remove the rest of the tapes) ( #317 )
2020-01-15 14:56:50 +01:00
Igor Mandrigin
0ab530a614
Remote tapes from GenStructStep ( #260 )
2019-12-12 18:17:13 +01:00
Igor Mandrigin
422b154fb1
Remove tapes from HashBuilder ( #238 )
2019-12-09 15:59:30 +01: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
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
Igor Mandrigin
7fd4b0431b
refactor trie package a bit ( #171 )
...
* Refactor `structural*` files.
* some refactor
* dry hashbuilder a bit
* rename constants back to the magic rlp values
2019-11-15 17:50:16 +01:00
Igor Mandrigin
00074e0ed7
Don't store RLPs in valueNodes (except tests).
2019-11-13 20:08:20 +01:00
Igor Mandrigin
02af800e66
Use GenStructStep
from structural_2
in DeriveSha
.
2019-11-07 16:14:33 +01:00
ledgerwatch
f760001638
Merge pull request #112 from ledgerwatch/block_witness
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
Alexey Akhunov
fe01bccbb8
Apply Turbo-Geth modifications to go-ethereum codebase
2019-11-01 21:52:03 +01:00