Add option to monitor catchup at max commitment

This commit is contained in:
Michael Vines
2020-04-02 12:00:04 -07:00
parent 303a1207c1
commit c5b2db72a2
2 changed files with 26 additions and 3 deletions

View File

@ -173,6 +173,7 @@ pub enum CliCommand {
Catchup {
node_pubkey: Pubkey,
node_json_rpc_url: Option<String>,
commitment_config: CommitmentConfig,
follow: bool,
},
ClusterVersion,
@ -1594,8 +1595,15 @@ pub fn process_command(config: &CliConfig) -> ProcessResult {
CliCommand::Catchup {
node_pubkey,
node_json_rpc_url,
commitment_config,
follow,
} => process_catchup(&rpc_client, node_pubkey, node_json_rpc_url, *follow),
} => process_catchup(
&rpc_client,
node_pubkey,
node_json_rpc_url,
*commitment_config,
*follow,
),
CliCommand::ClusterVersion => process_cluster_version(&rpc_client),
CliCommand::CreateAddressWithSeed {
from_pubkey,