erigon-pulse/ethdb
Alex Sharov c5ffc971c5
[WIP] Badger v2 (#378)
* badger v2 investigation

* buf pool - use native New method and avoid double checks

* db.Open prototype

* db.Tx/Bucket/Cursor prototypes

* Chained config

* Item concept added

* save changes to test on master

* make hack resumable

* Design document v0

* Cursor concept

* less brackets syntax of cursor builder

* benchmarks

* cleanup fs

* test for context cancelations

* test for context cancelations

* test for cursor.Prefix option

* add ForEachKey method

* add ForEachKey method

* add naming explanation

* experiment of non-pointers cursor/bucket

* .Bucket() and .Cursor() doesn't returns error

* .Bucket() and .Cursor() doesn't returns error

* .Bucket() and .Cursor() doesn't returns error

* remove CursorOpts concept

* more test-cases

* simplify open api

* Tx, Bucket, Cursor - now are interfaces

* Tx, Bucket, Cursor - now are interfaces

* switch to interfaces

* rebase master

Co-authored-by: alex.sharov <alex.sharov@lazada.com>
2020-03-11 11:02:37 +00:00
..
abstractbench [WIP] Badger v2 (#378) 2020-03-11 11:02:37 +00:00
codecpool Use local db in analytics (#308) 2020-01-15 19:47:13 +07:00
dbtest Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
remote [WIP] Badger v2 (#378) 2020-03-11 11:02:37 +00:00
typedbucket Use local db in analytics (#308) 2020-01-15 19:47:13 +07:00
abstract_test.go [WIP] Badger v2 (#378) 2020-03-11 11:02:37 +00:00
abstract.go [WIP] Badger v2 (#378) 2020-03-11 11:02:37 +00:00
AbstractKV.md [WIP] Badger v2 (#378) 2020-03-11 11:02:37 +00:00
badger_db.go [WIP] Badger v2 (#378) 2020-03-11 11:02:37 +00:00
bolt_db.go [WIP] Badger v2 (#378) 2020-03-11 11:02:37 +00:00
boltdb_test.go split storage and account encoding for changeset 2020-02-24 22:36:16 +03:00
database_test.go [WIP] Badger v2 (#378) 2020-03-11 11:02:37 +00:00
encoding_test.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
encoding.go History index encoding 2020-02-24 23:29:46 +03:00
ethdb_unix.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
id.go Restore Ethash mining (#231) 2019-12-10 16:12:21 +03:00
interface.go split changeset bucket 2020-02-24 20:56:32 +03:00
iterator.go core, eth, trie: bloom filter for trie node dedup during fast sync (#19489) 2019-05-13 15:28:01 +03:00
memory_database.go [WIP] Badger v2 (#378) 2020-03-11 11:02:37 +00:00
mutation_test.go History index encoding 2020-02-24 23:29:46 +03:00
mutation.go Intermediate hash phase 3 (#377) 2020-03-11 10:31:49 +00:00
remote_bolt_db.go [WIP] Badger v2 (#378) 2020-03-11 11:02:37 +00:00
walk.go History index encoding 2020-02-24 23:29:46 +03:00