* Add scan files tests, create new aggregator type
* Fix lint
* windows test fix
* Add delelte test
* AggCollation
* More functions to Aggregator
* More aggregator functions
* Update
* More functions
* More functions
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
* [erigon2] Introduce inverted index type
* More inverted index code
* More tests for inverted index
* Think about public and non-public APIs
* Minimise DB access when accessing history
* Work on iterator
* Implementation of inverted iterator
* Test for inverted index
* Assert end of iterators
* Merge of inverted index files and test
* Fix lint
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
* Iteration over files - initial
* Fix interator for multistep
* Add function
* More functions for merge
* Merge files
* More work on the merge
* Fix buildIndex
* Fix history test for test of not completely pruned db
* Prepare for merge test
* Merge file test
* Close files
* Move functions into separate file
* Print
* fix for closing index
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alex Sharp <alexsharp@alexs-mbp.lan>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
* Remove interfaces for replacement
* Squashed 'interfaces/' content from commit 981f4ba
git-subtree-dir: interfaces
git-subtree-split: 981f4bae6619ab7100c7222852fd4eae3f837ad4
* regenerate go proto
* Domain
* First functions
* change year
* More on domain
* More to test
* More on test
* More on domains
* buildFiles
* More on domains
* Collation test
* Fix collate
* Add test for decompressors
* Restructure history tables
* Split history into 2 tables
* Fix lint
* Check index files in the test
* Close files
* Add file scanning
* Fix lint
* Fix lint
* Add readFromFiles
* Add ef history idx file
* Start cleanup
* More to cleanup, test for ef history
* More test
* Add prune to test
* Test for prune and fix
* Start history access
* History test
* Test for LastDup
* Fix one lint
* Workaround
* History tests
* Debug
* Fix
* Fix in history
* Fix lint
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@alexs-macbook-pro.home>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alex Sharp <alexsharp@alexs-mbp.lan>
* save
* Squashed 'interfaces/' content from commit 477d121a
git-subtree-dir: interfaces
git-subtree-split: 477d121aafa9566e1f2f7d478852d800d3822bc5
* save
* save
* Squashed 'interfaces/' content from commit 9fdbffd
git-subtree-dir: interfaces
git-subtree-split: 9fdbffd8ff5cc8d1061939e9f6dc2e966ba5b284
* save
* save
* save
* save
* use $GOBIN everywhere
* make lint builds golangci-lint if needed
* moq rebuilt only if needed
* download protoc only if needed
* separate clean targets
* $PROTOC_INCLUDE
* refactor mkdir $GOBIN