prysm-pulse/beacon-chain/powchain
terence tsao e1840f7523
Share finalized state at start up (#9843)
* Reuse finalized beacon state at startup

* Better logging for replay

* Update tests

* Fix lint

* Add `WithFinalizedStateAtStartup`

* Update service.go

* Remove unused fields

* Update service_test.go

* Update service_test.go

* Update service_test.go

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-11-06 13:45:16 +00:00
..
testing Create Encoding Bytesutil (#9658) 2021-09-23 15:23:37 +00:00
types Create Encoding Bytesutil (#9658) 2021-09-23 15:23:37 +00:00
block_cache_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
block_cache.go Move Shared/Params Into Config/Params (#9642) 2021-09-21 19:59:25 +00:00
block_reader_test.go [Service Revamp] - Powchain Service With Functional Options (#9856) 2021-11-04 14:19:44 -04:00
block_reader.go Move Shared/Params Into Config/Params (#9642) 2021-09-21 19:59:25 +00:00
BUILD.bazel Share finalized state at start up (#9843) 2021-11-06 13:45:16 +00:00
deposit_test.go [Service Revamp] - Powchain Service With Functional Options (#9856) 2021-11-04 14:19:44 -04:00
deposit.go [Service Revamp] - Powchain Service With Functional Options (#9856) 2021-11-04 14:19:44 -04:00
init_test.go Move Shared/Params Into Config/Params (#9642) 2021-09-21 19:59:25 +00:00
log_processing_test.go [Service Revamp] - Powchain Service With Functional Options (#9856) 2021-11-04 14:19:44 -04:00
log_processing.go [Service Revamp] - Powchain Service With Functional Options (#9856) 2021-11-04 14:19:44 -04:00
log.go Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
options.go Share finalized state at start up (#9843) 2021-11-06 13:45:16 +00:00
powchain_test.go Update TestMain(): do not call os.Exit() explicitly (#8046) 2020-12-04 16:10:07 +00:00
prometheus_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
prometheus.go Unused parameter should be replaced by underscore (#9632) 2021-09-20 20:51:59 +00:00
provider_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
provider.go Move iputil and httpuil pkgs into network pkg (#9621) 2021-09-16 19:12:27 +00:00
service_test.go Share finalized state at start up (#9843) 2021-11-06 13:45:16 +00:00
service.go Share finalized state at start up (#9843) 2021-11-06 13:45:16 +00:00