Go to file
Andrew Ashikhmin 55fa5d7006
Various fixes and improvements of MemoryMutation (#573)
* Remove duplicate function

* Close cursor in ForAmount

* Correct ForEach & ForPrefix

* Switch GetOne implementation to cursor

* Switch Has implementation to cursor

* Small fixes

* statelessCursors should be cleared in UpdateTxn

* cursorentry -> cursorEntry

* Fix memoryMutationCursor.NextNoDup

* Don't swallow errors

* Fix memoryMutationCursor.First for DupSort tables

* TestFirstAfterClearBucket

* Add TestAutoDupSort

* WithTablessCfg -> WithTablesCfg

* WithTablesCfg -> WithTableCfg

* Add TestAutoDupSort

* Remove memoryMutationCursor.currentPair

* Merge duplicated cursors

* goForward -> resolveCursorPriority

* Extend TestAutoDupSort

* Amend skipIntersection

* Restore currentPair

* Revert "Merge duplicated cursors"

This reverts commit 13ba28f2fd4c63d6ef17254aa93ac05172e37429.

* Revert WithTablessCfg -> WithTableCfg

* Small fix to AppendDup

* Revert "Revert "Merge duplicated cursors""

This reverts commit b94b7612617750d26eebe8b149e5a8d7f219a4db.

* Pay more attention to isTableCleared

* Remove convertAutoDupsort

* Fix DeleteCurrentDuplicates

* Small simplification of memoryMutationCursor.SeekBothRange

* Revert BaseCase -> baseCase

* Revert parameter renaming

* Restore an assertion

* Add TestAutoConversionSeekBothRange

* CursorDupSort doesn't do AutoDupSortKeysConversion
2022-08-11 09:55:28 +02:00
.github/workflows go1.19 gofmt (#576) 2022-08-10 19:00:19 +07:00
aggregator kv.Del() remove second parameter (#554) 2022-07-26 12:47:08 +07:00
bptree enable some linters (#577) 2022-08-10 19:08:09 +07:00
chain Add ArrowGlacierBlock and remove CatalystBlock (#139) 2021-10-31 17:21:20 +00:00
commitment commitment: generic btree #523 2022-07-18 11:46:38 +07:00
common go1.19 gofmt (#576) 2022-08-10 19:00:19 +07:00
compress enable some linters (#577) 2022-08-10 19:08:09 +07:00
direct add PendingBlock to EthBackend (#572) 2022-08-10 18:58:13 +07:00
etl go1.19 gofmt (#576) 2022-08-10 19:00:19 +07:00
gointerfaces add PendingBlock to EthBackend (#572) 2022-08-10 18:58:13 +07:00
kv Various fixes and improvements of MemoryMutation (#573) 2022-08-11 09:55:28 +02:00
mmap run go fix ./... (#453) 2022-05-17 14:48:16 +07:00
patricia go1.19 gofmt (#576) 2022-08-10 19:00:19 +07:00
pedersen_hash Test for kv_mdbx optimized (#528) 2022-07-18 21:36:58 +02:00
recsplit go1.19 gofmt (#576) 2022-08-10 19:00:19 +07:00
rlp Txn tip is u256 (#447) 2022-05-13 12:21:29 +07:00
sais go1.19 gofmt (#576) 2022-08-10 19:00:19 +07:00
state erigon22: optimize index.add (#571) 2022-08-09 10:28:29 +07:00
txpool go1.19 gofmt (#576) 2022-08-10 19:00:19 +07:00
types go1.19 gofmt (#576) 2022-08-10 19:00:19 +07:00
.gitignore Reverted 3 last commits (#348) 2022-02-24 14:39:42 +00:00
.golangci.yml enable some linters (#577) 2022-08-10 19:08:09 +07:00
go.mod up_metrics version (#575) 2022-08-10 18:39:19 +07:00
go.sum up_metrics version (#575) 2022-08-10 18:39:19 +07:00
LICENSE Initial commit 2021-06-19 10:43:10 +01:00
Makefile go1.19 gofmt (#576) 2022-08-10 19:00:19 +07:00
README.md Initial commit 2021-06-19 10:43:10 +01:00
rules.go linter: add rules.go from erigon #418 Open 2022-04-17 09:12:09 +07:00
tools.go go modules instead of git-subtree (#563) 2022-08-03 11:54:34 +07:00

erigon-lib

Dependencies of Erigon project, rewritten from scratch and licensed under Apache 2.0