erigon-pulse/eth/stagedsync
Alex Sharov 57777e7c60
Prepare codebase for future default DB change (#670)
* Add kv.tx.bucket.Clear() and db.ClearBuckets() methods

* Add kv.tx.bucket.Clear() and db.ClearBuckets() methods

* choose db based on file suffix

* implement db.id method

* implement db.id method

* use ethdb.NewDatabase method

* use ethb.MustOpen method

* cleanup

* support TEST_DB env flag

* create db path automatically needed

* bolt - don't change prefix on happy path
2020-06-16 14:36:16 +01:00
..
stages [WIP] TxLookup stage (#646) 2020-06-10 23:07:14 +03:00
stage_bodies.go stagedsync: allow long stages/unwinds to be interrupted (#643) 2020-06-09 15:49:49 +03:00
stage_execute_test.go close db in tests (#669) 2020-06-16 12:05:40 +07:00
stage_execute.go Prepare codebase for future default DB change (#670) 2020-06-16 14:36:16 +01:00
stage_hashstate_test.go Support ETL interruptions while promoting plain state (#662) 2020-06-13 16:03:38 +01:00
stage_hashstate.go Support ETL interruptions while promoting plain state (#662) 2020-06-13 16:03:38 +01:00
stage_headers.go Prepare codebase for future default DB change (#670) 2020-06-16 14:36:16 +01:00
stage_indexes.go Re-enable TestUnwind test and fix issues in the stage sync (#659) 2020-06-13 13:39:04 +01:00
stage_interhashes.go stagedsync: allow long stages/unwinds to be interrupted (#643) 2020-06-09 15:49:49 +03:00
stage_senders.go Re-enable TestUnwind test and fix issues in the stage sync (#659) 2020-06-13 13:39:04 +01:00
stage_txlookup.go Re-enable TestUnwind test and fix issues in the stage sync (#659) 2020-06-13 13:39:04 +01:00
stage.go stagedsync: allow long stages/unwinds to be interrupted (#643) 2020-06-09 15:49:49 +03:00
stagedsync.go Re-enable TestUnwind test and fix issues in the stage sync (#659) 2020-06-13 13:39:04 +01:00
state_test.go close db in tests (#669) 2020-06-16 12:05:40 +07:00
state.go Various fixes to make sync work (#663) 2020-06-13 22:39:55 +01:00
testutil.go Issue 635: Stage4 to optionally generate persisted receipts (#644) 2020-06-09 14:11:09 +01:00
types.go refactor stagedsync unwind, add tests(#636) 2020-06-08 07:01:26 +03:00
unwind_test.go stagedsync: allow long stages/unwinds to be interrupted (#643) 2020-06-09 15:49:49 +03:00
unwind.go stagedsync: allow long stages/unwinds to be interrupted (#643) 2020-06-09 15:49:49 +03:00