Raul Jordan
1a9b0da9ae
Batch Save Validator Indices ( #4489 )
...
* add bolt alloc fix
* Merge branch 'master' of github.com:prysmaticlabs/prysm
* const
* add a batch save for indices to speed up sync
* Merge branch 'batch-save-indices' into bolt-alloc-fix
* fix up
* fix broken build
* Merge branch 'batch-save-indices' into bolt-alloc-fix
* Merge branch 'master' into batch-save-indices
* ensure it saves each
* Merge branch 'batch-save-indices' of github.com:prysmaticlabs/prysm into batch-save-indices
* Merge branch 'master' into batch-save-indices
* revert ssz cache
* Merge branch 'batch-save-indices' of github.com:prysmaticlabs/prysm into batch-save-indices
2020-01-10 23:27:01 +00:00
Jim McDonald
3839f577ec
Change database *Index() to use slice ( #4466 )
...
* Change database *Index() to use slice
* Remove underscore from helper name
2020-01-09 14:45:05 -08:00
Nishant Das
7d0e5a9dc4
Use Latest Vote Map ( #4102 )
...
* add latest vote map
* fix all tests
* remove db crud methods
* Merge branch 'master' into latestVoteMap
* preston's review
* Merge branch 'latestVoteMap' of https://github.com/prysmaticlabs/geth-sharding into latestVoteMap
2019-11-25 16:34:20 +00:00
Raul Jordan
7f475bee00
no cache tests ( #3284 )
2019-08-23 09:56:48 -05:00
Raul Jordan
bb542d2032
Basic Block/LatestVote Caching in DB Refactor ( #3249 )
...
* add block caching layer
* runlock
* lockinggg
* latest votes map
* validator latest vote deletion method added to interface
* seguin cache working
* cache size
* impl interface
* initialize caches at struct layer
2019-08-22 10:04:13 -05:00
Raul Jordan
8f967d26d7
Allow Nil Return from DB Methods ( #3247 )
...
* allow nil return and add proper tests
* pass tests
2019-08-20 12:24:29 -05:00
Raul Jordan
6bd8ae8f67
Implement Validator DB Methods ( #3172 )
...
* begin db interface
* define the database interface
* interface definition simplifications
* include latest message proto
* modify pbs
* rem kv folder
* add filter interface
* lint
* ctx package is great
* interface getting better
* ctx everywhere...it's everywhere!
* block roots method
* new kv store initialization
* comments
* gaz
* implement interface
* refactor for proper naming conventions
* add todos
* proper comments
* rem unused
* add schema
* implementation simplicity
* has validator latest vote func impl
* retrieve validator latest vote
* has idx
* implement missing validator methods
* missing validator methods and test helpers
* validator index crud tests
* validator tests
* all buckets
* refactor with ok bool
* all tests passing, fmt, imports
2019-08-12 14:33:07 -05:00