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
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
Alex Sharov
c8cbdb8c47
improve changeSetChecks to accept genesis.json ( #415 )
2020-03-30 19:56:53 +01:00
Andrew Ashikhmin
82b80c2ebe
Thin history: Fix an error in mutation.getNoLock ( #409 )
...
* CheckChangeSets and thin history
* small code de-duplication
* small code clean-up
* Fix an error in mutation.getNoLock
* CheckChangeSets: truly make historyfile = chaindata by default
2020-03-26 21:52:22 +00:00
ledgerwatch
6dcb8ade46
Convenience changes to checkChangeSets and stateless ( #406 )
...
* Allow separation of files
* Try next block
* Enable history
* use logging
* No check option
* Option to write history
2020-03-25 20:18:46 +00:00
Andrew Ashikhmin
aeed1657c7
Issue #340 : Re-execute all historical transaction in read-only mode and check ChangeSets ( #388 )
...
* Clean up code duplication between IntraBlockState's FinalizeTx & CommitBlock
* checkChangeSets command
* linter
* First attempt at checking account changes
* Reuse runBlock in CheckChangeSets
* linter
* linter
* Optionally include no-changes in the ChangeSets
* linter
* Detect storage changes for account change sets
* Fix post-merge compilation errors
* Use database format compatible with !debug.IsThinHistory()
* PrintChangedAccounts in ChangeSetWriter
* Avoid out-of-bounds access
* Storage changes
* hack FirstContractIncarnation
* Call ChangeSetWriter only once per block
2020-03-11 16:54:09 +01:00