aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/init.cpp
diff options
context:
space:
mode:
authorSjors Provoost <sjors@sprovoost.nl>2019-03-14 11:30:37 +0100
committerSjors Provoost <sjors@sprovoost.nl>2019-06-06 11:54:26 +0200
commitf874e14cd3c84cd412bd3fb42b3ee1706ca6a267 (patch)
tree26a3b6fc73c55d01cf1bbba8c00347529ae76d0b /src/wallet/init.cpp
parentcc3ad56ff2bc2583fe68c4a9e0b41072a47c0b07 (diff)
[build]: check std::system for -[alert|block|wallet]notify
Platforms such as iOs do not support launching a process through system().
Diffstat (limited to 'src/wallet/init.cpp')
-rw-r--r--src/wallet/init.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/init.cpp b/src/wallet/init.cpp
index 0b8afd5a5d..240c5112fc 100644
--- a/src/wallet/init.cpp
+++ b/src/wallet/init.cpp
@@ -62,7 +62,9 @@ void WalletInit::AddWalletOptions() const
gArgs.AddArg("-wallet=<path>", "Specify wallet database path. Can be specified multiple times to load multiple wallets. Path is interpreted relative to <walletdir> if it is not absolute, and will be created if it does not exist (as a directory containing a wallet.dat file and log files). For backwards compatibility this will also accept names of existing data files in <walletdir>.)", false, OptionsCategory::WALLET);
gArgs.AddArg("-walletbroadcast", strprintf("Make the wallet broadcast transactions (default: %u)", DEFAULT_WALLETBROADCAST), false, OptionsCategory::WALLET);
gArgs.AddArg("-walletdir=<dir>", "Specify directory to hold wallets (default: <datadir>/wallets if it exists, otherwise <datadir>)", false, OptionsCategory::WALLET);
+#if defined(HAVE_SYSTEM)
gArgs.AddArg("-walletnotify=<cmd>", "Execute command when a wallet transaction changes (%s in cmd is replaced by TxID)", false, OptionsCategory::WALLET);
+#endif
gArgs.AddArg("-walletrbf", strprintf("Send transactions with full-RBF opt-in enabled (RPC only, default: %u)", DEFAULT_WALLET_RBF), false, OptionsCategory::WALLET);
gArgs.AddArg("-zapwallettxes=<mode>", "Delete all wallet transactions and only recover those parts of the blockchain through -rescan on startup"
" (1 = keep tx meta data e.g. payment request information, 2 = drop tx meta data)", false, OptionsCategory::WALLET);