erigon-pulse/common
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
..
bitutil Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
changeset fix lint 2020-02-28 22:48:52 +03:00
compiler common/compiler: fix lint issue (#19967) 2019-08-15 12:12:56 +02:00
dbutils Intermediate hash phase 3 (#377) 2020-03-11 10:31:49 +00:00
debug Enable GetNodeData by default (#368) 2020-02-16 16:50:24 +00:00
fdlimit all: update author list and licenses 2019-07-22 12:17:27 +03:00
hexutil common/hexutil: improve GraphQL error messages (#20353) 2019-12-03 13:50:16 +01:00
math Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
mclock all: fix goroutine leaks in unit tests by adding 1-elem channel buffer (#20666) 2020-02-27 17:21:20 +03:00
pool [WIP] Badger v2 (#378) 2020-03-11 11:02:37 +00:00
prque Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
big.go core, vm, common: define constantinople fork + shift (#16045) 2018-02-23 12:32:57 +02:00
bytes_test.go common: improve GraphQL error messages (#20354) 2019-12-03 13:50:58 +01:00
bytes.go core/state: optimize some internals during encoding 2019-09-10 15:15:34 +02:00
context.go Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
debug.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
format.go common, core, light: add block age into info logs 2018-09-20 12:56:35 +03:00
hasher.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
path.go common: improve documentation comments (#16701) 2018-05-29 12:42:21 +02:00
size_test.go cmd/utils, eth: relinquish GC cache to read cache in archive mode 2019-02-07 14:36:25 +02:00
size.go core, cmd, vendor: fixes and database inspection tool (#15) 2019-05-16 10:39:34 +03:00
test_utils.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
tuples_test.go Replace red black trees (#184) 2019-11-21 18:38:00 +00:00
tuples.go Replace red black trees (#184) 2019-11-21 18:38:00 +00:00
types_test.go core/vm: 64 bit memory and gas calculations (#19210) 2019-03-12 11:40:05 +02:00
types.go Thin history for storage (#324) 2020-01-15 17:55:43 +03:00