Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/init.cpp
Show First 20 Lines • Show All 108 Lines • ▼ Show 20 Lines | gArgs.AddArg( | ||||
"-walletbroadcast", | "-walletbroadcast", | ||||
strprintf("Make the wallet broadcast transactions (default: %d)", | strprintf("Make the wallet broadcast transactions (default: %d)", | ||||
DEFAULT_WALLETBROADCAST), | DEFAULT_WALLETBROADCAST), | ||||
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, OptionsCategory::WALLET); | ArgsManager::ALLOW_ANY, OptionsCategory::WALLET); | ||||
#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)", | ||||
ArgsManager::ALLOW_ANY, OptionsCategory::WALLET); | ArgsManager::ALLOW_ANY, OptionsCategory::WALLET); | ||||
#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); | ||||
gArgs.AddArg("-dblogsize=<n>", | gArgs.AddArg("-dblogsize=<n>", | ||||
▲ Show 20 Lines • Show All 100 Lines • Show Last 20 Lines |