shayzluf
6c1740eefc
Add Caching to Tree Hashing Algorithm ( #1929 )
...
* added todo to hash file in ssz
* params and copy of block cache
* start hash cache
* Hash cache implementation
* fixed some comments
* fixed promatheus duplicate counter name
* removed TODO
* change to use special expiration cache
* function name fixes junk object generator
* naming changes
* gazzle fix
* added pruning last read data test
* fixed gometallinter errors
* fix benchmarks and no int64 not serializable
* move struct from test
* add feature flag
* fix merge issues
* add featureflag to beacon and validator
* featureflag init for tests
* added feature flag to all ssz dependent tests
* remove setter func
* replace k8s tweaked expiration cache to https://github.com/karlseguin/ccache
* remove else
* change request by preston
* added init featureflags to genesis_test
* Update shared/ssz/hash_cache.go
add dot
Co-Authored-By: shayzluf <thezluf@gmail.com>
* Update shared/ssz/hash_cache.go
Co-Authored-By: shayzluf <thezluf@gmail.com>
* Update shared/ssz/hash_cache.go
remove extra space
Co-Authored-By: shayzluf <thezluf@gmail.com>
* Update shared/params/config.go
add dot
Co-Authored-By: shayzluf <thezluf@gmail.com>
* Update shared/featureconfig/config.go
remove dot
Co-Authored-By: shayzluf <thezluf@gmail.com>
* Update shared/featureconfig/config.go
remove dot
Co-Authored-By: shayzluf <thezluf@gmail.com>
* remove powchain from prometheus hash cache name
* fixes fron change requests
* fix change requests
* remove faulty merge test
* gazelle fix
* fix fmt.sprintf
* remove debug binary
* fix gazelle
2019-04-24 13:39:02 +08:00
terence tsao
83e5492e55
Save State during Init Genesis State ( #2193 )
...
* added spans and save state during init state
* fix other svcs
* tests
* Delete saving hist state
2019-04-09 15:06:23 -04:00
Preston Van Loon
97b184e5c7
Historical pruning by flag only ( #2210 )
...
* add flag
* use flag
* fixes
2019-04-07 22:46:55 -04:00
Preston Van Loon
76e30200fe
Pass ctx to saveState ( #2141 )
...
* pass ctx to saveState
* add span
2019-04-02 16:49:45 +08:00
Nishant Das
e3c0acfc24
Fixes Panics in Stategen ( #2137 )
...
* fix nil blocks
* regression test
* renames
2019-04-01 17:44:26 -05:00
terence tsao
92640f9182
Refactor State Gen To Take Input Slot ( #2045 )
2019-03-20 15:33:31 -07:00
Nishant Das
f801bfedcf
Fix State Generator ( #2010 )
2019-03-18 20:15:50 -06:00
Raul Jordan
f1d77a816e
Revert "Update FFG Check Points During Block Processing ( #1991 )" ( #1998 )
...
This reverts commit b1ffc693e0
.
2019-03-14 16:05:31 -07:00
terence tsao
b1ffc693e0
Update FFG Check Points During Block Processing ( #1991 )
...
* update FFG check points in service
* where do stategenerators go?
* commented out state_generator_test for now
* moved state generator back to appropiate location
* fixed block processing with state generator
* fmt
* import circle bad commit
* fix
* taking preston's fix
* gaz
* save justified/finalized objs during beacon chain init
2019-03-14 11:22:05 -04:00
terence tsao
e5f66d0b21
Revert "Update FFG Check Points During Block Processing ( #1982 )" ( #1987 )
...
This reverts commit 2c805b731d
.
2019-03-13 21:48:54 -07:00
terence tsao
2c805b731d
Update FFG Check Points During Block Processing ( #1982 )
...
* update FFG check points in service
* where do stategenerators go?
* commented out state_generator_test for now
* moved state generator back to appropiate location
* fixed block processing with state generator
* fmt
* import circle bad commit
* fix
* taking preston's fix
* gaz
2019-03-14 00:22:47 -04:00
Nishant Das
6d69ac1abd
Add State Generator ( #1718 )
...
* add finalized function
* add functions
* gazelle
* add separate package for import cycles
* main tests are passing
* add finalized state test
* add block test
* fix tests and gazelle
* lint
* build file
* remove package
* remove unecessary method
* visibility
* remove package
* comments
* final comments
* imports spacing
* goimports
2019-03-07 11:02:47 +08:00