Add poh speed check and tick speed calibration (#14292)

This commit is contained in:
sakridge
2020-12-29 09:35:57 -08:00
committed by GitHub
parent 444ed768dc
commit 2074e407cd
5 changed files with 130 additions and 17 deletions

View File

@ -1104,6 +1104,11 @@ pub fn main() {
.default_value("10000")
.help("Milliseconds between printing contact debug from gossip."),
)
.arg(
Arg::with_name("no_poh_speed_test")
.long("no-poh-speed-test")
.help("Skip the check for PoH speed."),
)
.arg(
Arg::with_name("accounts_hash_interval_slots")
.long("accounts-hash-slots")
@ -1544,6 +1549,7 @@ pub fn main() {
"rpc_send_transaction_leader_forward_count",
u64
),
no_poh_speed_test: matches.is_present("no_poh_speed_test"),
..ValidatorConfig::default()
};