Add blockstore-root-scan for api nodes on boot (#17402)

* Add blockstore-root-scan for api nodes on boot

* Ensure cluster-confirmed root and parents are set as root in blockstore in load_frozen_forks()

* Plumb rpc-scan-and-fix-roots validator flag
This commit is contained in:
Tyera Eulberg
2021-05-24 13:24:47 -06:00
committed by GitHub
parent 30b60a976b
commit 41ec1c8d50
5 changed files with 98 additions and 3 deletions

View File

@@ -139,6 +139,7 @@ pub struct JsonRpcConfig {
pub rpc_bigtable_timeout: Option<Duration>,
pub minimal_api: bool,
pub obsolete_v1_7_api: bool,
pub rpc_scan_and_fix_roots: bool,
}
#[derive(Clone)]