Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/init.cpp
Show First 20 Lines • Show All 122 Lines • ▼ Show 20 Lines | gArgs.AddArg( | ||||
ArgsManager::ALLOW_ANY, OptionsCategory::WALLET); | ArgsManager::ALLOW_ANY, OptionsCategory::WALLET); | ||||
gArgs.AddArg("-walletdir=<dir>", | gArgs.AddArg("-walletdir=<dir>", | ||||
"Specify directory to hold wallets (default: " | "Specify directory to hold wallets (default: " | ||||
"<datadir>/wallets if it exists, otherwise <datadir>)", | "<datadir>/wallets if it exists, otherwise <datadir>)", | ||||
ArgsManager::ALLOW_ANY | ArgsManager::NETWORK_ONLY, | ArgsManager::ALLOW_ANY | ArgsManager::NETWORK_ONLY, | ||||
OptionsCategory::WALLET); | OptionsCategory::WALLET); | ||||
#if defined(HAVE_SYSTEM) | #if defined(HAVE_SYSTEM) | ||||
gArgs.AddArg("-walletnotify=<cmd>", | gArgs.AddArg("-walletnotify=<cmd>", | ||||
"Execute command when a wallet transaction changes (%s in cmd " | "Execute command when a wallet transaction changes. %s in cmd " | ||||
"is replaced by TxID)", | "is replaced by TxID and %w is replaced by wallet name. %w is " | ||||
"not currently implemented on windows. On systems where %w is " | |||||
"supported, it should NOT be quoted because this would break " | |||||
"shell escaping used to invoke the command.", | |||||
ArgsManager::ALLOW_ANY, OptionsCategory::WALLET); | ArgsManager::ALLOW_ANY, OptionsCategory::WALLET); | ||||
#endif | #endif | ||||
gArgs.AddArg( | gArgs.AddArg( | ||||
"-zapwallettxes=<mode>", | "-zapwallettxes=<mode>", | ||||
"Delete all wallet transactions and only recover those parts of the " | "Delete all wallet transactions and only recover those parts of the " | ||||
"blockchain through -rescan on startup (1 = keep tx meta data e.g. " | "blockchain through -rescan on startup (1 = keep tx meta data e.g. " | ||||
"payment request information, 2 = drop tx meta data)", | "payment request information, 2 = drop tx meta data)", | ||||
ArgsManager::ALLOW_ANY, OptionsCategory::WALLET); | ArgsManager::ALLOW_ANY, OptionsCategory::WALLET); | ||||
▲ Show 20 Lines • Show All 95 Lines • Show Last 20 Lines |