Andrew Ashikhmin
7b40cbb6fa
Incarnation should be read by StateReader, not StateWriter ( #506 )
...
* GetCurrentAccountIncarnation
* Incarnation should be read by StateReader, not StateWriter
* Use GetHistoricalAccountIncarnation in DbState
* RemoteReader ReadAccountIncarnation
* Handle the case where a contract has self-destructed, then Eth sent to it, then it got recreated again
2020-05-02 19:00:42 +01:00
ledgerwatch
051323edbb
Tinkering with storage changesets ( #497 )
...
* Adjustments
* fix tests
* Fix tests
* Widen most numbers to 32 bits
2020-04-28 16:36:00 +01:00
ledgerwatch
a09547e822
Truncate history index after reorgs ( #492 )
...
* Refactor RewindData
* Add cpu profile
* Index truncation
* Fix compile
* Fix linter
* Fix linter
* Fix tests
* Create test
* Remove Remove
* Clarifying comment
2020-04-28 06:36:33 +01:00
Igor Mandrigin
468bd65109
Add "execute blocks" stage to the staged sync. ( #486 )
...
* extract functions to different files
* post-rebase fixups
* stage v0
* add a log
* better log entries
* fixes in log messages
* fix some stuff
* review fixes
* fix linters
* pw as a variable
* fix a test
* add Byzantium check
* batch save progress too
2020-04-26 17:02:38 +01:00
ledgerwatch
0c6a44b5e5
Index bits to mark creation of accounts or storage items ( #483 )
...
* Index bits
* Fix linter
* Fix linter
* Not to call getModifiedAccountsByNumber for go-ethereum
* Remove the 0x000 kludge
2020-04-25 15:50:32 +01:00
ledgerwatch
091811c3d1
Account range crash fix ( #481 )
...
* Pass error from accountRange
* Fix linter
* Fixes for accountRange
* Fix tests
* Fix tests
* Eliminate deadlocks
* Fixes
* Fix linter
* Fix linter
* Code hash fixes
* Fix linter
* Fix linter
* Fix linter
* Fix linter
* Fix in rpctest
* Ignore storage roots
* Fix linter
* Fix dump test
2020-04-23 10:35:43 +01:00
ledgerwatch
623545a47c
Fix index chunks ( #478 )
...
* First stab at fixing index chunks
* Fix compilation
* Fix tests
* Fix walkAsOf for storage
* Fix
* Fix for walkAsOf accounts
* Fix linter
2020-04-21 09:15:40 +01:00
b00ris
a9f71298aa
Index chunking ( #473 )
...
* index generation
* save state
* save state
* save state
* save state
* save state
* save state
* save state
* save state
* fix
* save state
* fix
2020-04-20 11:35:33 +01:00
Giulio rebuffo
6e2fc0d936
[WIP] 459 merge storage account ( #466 )
...
* bt commit
* merged buckets
* adjusted cmd/
* fixed sync
2020-04-19 20:51:32 +01:00
Alex Sharov
59f997a663
Move account root to ih ( #465 )
...
* move_account_root_to_ih
* temptorary comment test
2020-04-18 21:09:44 +01:00
Igor Mandrigin
acbf8bcbdf
Enable thin history by default ( #456 )
...
* Enable thin history by default
* remove thin history flags
* remove from tests
* fix test compile error
* test fixups
* fix more stuff
2020-04-15 12:33:22 +03:00
ledgerwatch
fbe7a2cb06
THIN_HISTORY - Reinstate incarnation encoding in ChangeSets, but remove from index keys ( #443 )
...
* Cutting incarnation out of history and changeset keys
* Rollback the remove of incarnation only in changesets
* Fix linter
* Remove debug printing
* Reinstate encoding of incarnations in the ChangeSets
* Fix linter
* Fix linter
* Fix DefaultIncarnation
* Fixes
* Fix lint
* Fix to history writing
* Fix linter
2020-04-12 19:36:27 +01:00
Alex Sharov
535d73be5f
Run CI on bolt with prefix_compression_without_allocation (fixes) ( #380 )
2020-04-11 20:28:15 +07:00
ledgerwatch
ad64ae2085
[THIN_HISTORY] Decouple changesets and history from ethdb.Database (mutation/bolt_db/badger_db) ( #432 )
...
* Prepare for refactoring
* Decoupling
* Further cleanup of mutation
* Further cleanup of mutation
* Remove some tests (temporarily)
* Fix linter
* Fix lint
* Fix lint
* Fix lint
* Fix lint
* Fix lint
* Fix lint
* Recover mutation_test cases
* Fix lint
* Fix WalkAsOf test
* Fix lint
* Fix TODO, linter
* Fix lint
* Fix lint
* Fix tests for THIN_HISTORY
* Fix lint
* Fix lint
* Reduce visibility of DecodeStorage
* Revert "Reduce visibility of DecodeStorage"
This reverts commit 2e11e16ea095b75a62cdddb77b9477eabc259e67.
2020-04-09 18:23:29 +01:00