Function grin_wallet::cmd::wallet_args::parse_init_args
source · [−]pub fn parse_init_args<L, C, K>(
wallet: Arc<Mutex<Box<dyn WalletInst<'static, L, C, K>>>>,
config: &WalletConfig,
g_args: &GlobalArgs,
args: &ArgMatches<'_>,
test_mode: bool
) -> Result<InitArgs, ParseError> where
DefaultWalletImpl<'static, C>: WalletInst<'static, L, C, K>,
L: WalletLCProvider<'static, C, K>,
C: NodeClient + 'static,
K: Keychain + 'static,