Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
privatesend.cpp
Go to the documentation of this file.
41 throw JSONRPCError(RPC_INTERNAL_ERROR, "Mixing is disabled via -enableprivatesend=0 command line option, remove it to enable mixing again");
53 throw JSONRPCError(RPC_WALLET_UNLOCK_NEEDED, "Error: Please unlock wallet for mixing with walletpassphrase first.");
58 return "Mixing " + (result ? "started successfully" : ("start failed: " + privateSendClient.GetStatuses() + ", will retry"));
98 " \"denoms_hardcap\": xxx, (numeric) Maximum limit of how many inputs of each denominated amount to create\n"
106 " \"denomination\": xxx, (numeric) The denomination of the mixing session in " + CURRENCY_UNIT + "\n"
118 " \"denomination\": xxx, (numeric) The denomination of the mixing session in " + CURRENCY_UNIT + "\n"
145 obj.push_back(Pair("warnings", pwallet->nKeysLeftSinceAutoBackup < PRIVATESEND_KEYS_THRESHOLD_WARNING
std::string GetStatuses()
Definition: privatesend-client.cpp:317
Enter the wallet passphrase with walletpassphrase first.
Definition: protocol.h:81
bool EnsureWalletIsAvailable(CWallet *const pwallet, bool avoidException)
Definition: rpcwallet.cpp:66
Definition: protocol.h:44
static const int PRIVATESEND_KEYS_THRESHOLD_WARNING
Definition: privatesend-client.h:50
Definition: univalue.h:20
void GetJsonInfo(UniValue &obj) const
Definition: privatesend-client.cpp:1732
std::string HelpExampleRpc(const std::string &methodname, const std::string &args)
Definition: server.cpp:583
bool GetBoolArg(const std::string &strArg, bool fDefault) const
Return boolean argument or default value.
Definition: util.cpp:824
bool appendCommand(const std::string &name, const CRPCCommand *pcmd)
Appends a CRPCCommand to the dispatch table.
Definition: server.cpp:353
Definition: univalue.h:22
void GetJsonInfo(UniValue &obj) const
Definition: privatesend-server.cpp:881
std::string HelpExampleCli(const std::string &methodname, const std::string &args)
Definition: server.cpp:578
static std::pair< std::string, UniValue > Pair(const char *cKey, const char *cVal)
Definition: univalue.h:185
bool fEnablePrivateSend
Definition: privatesend-client.h:213
UniValue getprivatesendinfo(const JSONRPCRequest &request)
Definition: privatesend.cpp:83
Definition: server.h:37
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
Definition: wallet.h:715
CWallet * GetWalletForJSONRPCRequest(const JSONRPCRequest &request)
Figures out what wallet, if any, to use for a JSONRPCRequest.
Definition: rpcwallet.cpp:45
void RegisterPrivateSendRPCCommands(CRPCTable &t)
Register PrivateSend RPC commands.
Definition: privatesend.cpp:162
bool DoAutomaticDenominating(CConnman &connman, bool fDryRun=false)
Passively run mixing in the background according to the configuration in settings.
Definition: privatesend-client.cpp:923
bool fPrivateSendRunning
Definition: privatesend-client.h:214
Definition: server.h:128