Raul Jordan
8d215feb25
Large Prysm Performance Improvements ( #3622 )
...
* skip bls verification with a feature flag at runtime
* gazelle
* more bls mocks
* block roots efficiency
* db block roots now does not show up on the flame graphs
* save validator latest votes batch
* batch save att
* misc improvements to pprof
* import
* include validator index cache
* error if no filter criteria
* resolved comments
* build fix
* lint
* remove delay global
* attestation and block test fixes
* preston suggestions
* fix db tests
* fix missing broken tests
* tests pass
2019-09-30 15:45:53 -05:00
terence tsao
314bc513af
Fixed validator pubkey -> index getter ( #3361 )
2019-08-30 13:50:21 -07: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
terence tsao
1c4b7329f2
Part 2 of fork choice update - benchmark tests ( #3212 )
2019-08-20 16:13:20 -06:00
Raul Jordan
900b550864
add all proper spans to methods ( #3248 )
2019-08-20 14:35:48 -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
Raul Jordan
dce9c41094
Define Interface Stubs for New DB Interface ( #3164 )
...
* 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
2019-08-10 20:50:10 -04:00