Factor the rest of CLI offline module out to clap-utils and cli-output crates

This commit is contained in:
Trent Nelson
2020-09-22 20:29:32 -06:00
committed by Trent Nelson
parent 325a7e9f86
commit 7cab638297
11 changed files with 179 additions and 184 deletions

View File

@@ -5,7 +5,6 @@ use crate::{
ProcessResult,
},
nonce::check_nonce_account,
offline::return_signers,
spend_utils::{resolve_spend_tx_and_check_account_balances, SpendAmount},
};
use clap::{App, Arg, ArgGroup, ArgMatches, SubCommand};
@@ -18,7 +17,9 @@ use solana_clap_utils::{
offline::*,
ArgConstant,
};
use solana_cli_output::{CliStakeHistory, CliStakeHistoryEntry, CliStakeState, CliStakeType};
use solana_cli_output::{
return_signers, CliStakeHistory, CliStakeHistoryEntry, CliStakeState, CliStakeType,
};
use solana_client::{
blockhash_query::BlockhashQuery, nonce_utils, rpc_client::RpcClient,
rpc_request::DELINQUENT_VALIDATOR_SLOT_DISTANCE,