aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2016-02-22 10:48:44 +0100
committerJonas Schnelli <dev@jonasschnelli.ch>2016-03-05 13:27:04 -0500
commit72c265158127ff1084cdb034439ddbe1783b0791 (patch)
tree2384268fddf476cb046e20319b0d10fe7fc803d6 /src/wallet/wallet.h
parentb6e00af8193f46fa02af13c2e9852a6bd7461d00 (diff)
downloadbitcoin-72c265158127ff1084cdb034439ddbe1783b0791.tar.xz
[Wallet] move wallet help string creation to CWallet
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index 990b27c7ce..6312735c97 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -55,6 +55,8 @@ static const unsigned int DEFAULT_TX_CONFIRM_TARGET = 2;
static const unsigned int MAX_FREE_TRANSACTION_CREATE_SIZE = 1000;
static const bool DEFAULT_WALLETBROADCAST = true;
+extern const char * DEFAULT_WALLET_DAT;
+
class CBlockIndex;
class CCoinControl;
class COutput;
@@ -869,6 +871,9 @@ public:
/* Mark a transaction (and it in-wallet descendants) as abandoned so its inputs may be respent. */
bool AbandonTransaction(const uint256& hashTx);
+
+ /* Returns the wallets help message */
+ static std::string GetWalletHelpString(bool showDebug);
};
/** A key allocated from the key pool. */