prysm-pulse/beacon-chain/db
terence tsao 4dcae8707a
Startup routine to clean up dirty states in DB (#7729)
* Clean up dirty states in DB

* Add Passthrough

* Fix finalized check

* Add tests

* Remove unused test vars

* Update beacon-chain/db/kv/state.go

Co-authored-by: Victor Farazdagi <simple.square@gmail.com>

* Use non-strict inequality

* Prevent overflow and test

* Use slotsPerArchivedPoint/3 to loosen criteria

* Update test

* Background

* Handle ctx cancellation

* Update beacon-chain/state/stategen/service.go

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>

* Update beacon-chain/db/kv/state.go

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>

* Handle error

Co-authored-by: Victor Farazdagi <simple.square@gmail.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
2020-11-06 21:05:44 +00:00
..
filters Applies assertion funcs to beacon-chain/db tests (#6938) 2020-08-08 18:39:01 +00:00
iface Startup routine to clean up dirty states in DB (#7729) 2020-11-06 21:05:44 +00:00
kafka Startup routine to clean up dirty states in DB (#7729) 2020-11-06 21:05:44 +00:00
kv Startup routine to clean up dirty states in DB (#7729) 2020-11-06 21:05:44 +00:00
testing QSP-6: Enforces crypto-secure PRNGs (#6401) 2020-06-26 09:58:47 -05:00
alias.go Refactor database interface to prefer blockchain.HeadFetcher (#4523) 2020-01-13 17:02:20 +00:00
BUILD.bazel Add beacon state unmarshal fuzzer, afl support (#6625) 2020-09-14 11:42:08 -07:00
db_kafka_wrapped.go Refactor dependencies, make Prysm "go gettable" (#6053) 2020-05-31 14:44:34 +08:00
db_test.go Verify interface compliance using typed nil instead of dereferencing and conversion (#7489) 2020-10-10 00:36:48 +00:00
db.go All Beacon Node Package-Level Godocs (#5677) 2020-04-29 12:40:33 -05:00
http_backup_handler.go Allow Specifying Output Directory When Creating DB Backups (#7630) 2020-10-26 18:20:54 +00:00