Value stop(const Array& params, bool fHelp)
{
- // Accept the deprecated and ignored 'detach' boolean argument
+ // Accept the deprecated and ignored 'detach' boolean argument
if (fHelp || params.size() > 1)
throw runtime_error(
"stop\n"
- "\nStop Zcash server.");
+ "\nStop Komodo server.");
// Shutdown will take long enough that the response should get back
StartShutdown();
- return "Zcash server stopping";
+ return "Komodo server stopping";
}
{ "blockchain", "verifytxoutproof", &verifytxoutproof, true },
{ "blockchain", "gettxoutsetinfo", &gettxoutsetinfo, true },
{ "blockchain", "verifychain", &verifychain, true },
+ { "blockchain", "paxprice", &paxprice, true },
+ { "blockchain", "paxprices", &paxprices, true },
+ { "blockchain", "notaries", ¬aries, true },
/* Mining */
{ "mining", "getblocktemplate", &getblocktemplate, true },
{ "wallet", "z_exportkey", &z_exportkey, true },
{ "wallet", "z_importkey", &z_importkey, true },
{ "wallet", "z_exportwallet", &z_exportwallet, true },
- { "wallet", "z_importwallet", &z_importwallet, true }
+ { "wallet", "z_importwallet", &z_importwallet, true },
+
+ { "wallet", "paxdeposit", &paxdeposit, true },
+ { "wallet", "paxwithdraw", &paxwithdraw, true }
#endif // ENABLE_WALLET
};
unsigned char rand_pwd[32];
GetRandBytes(rand_pwd, 32);
uiInterface.ThreadSafeMessageBox(strprintf(
- _("To use zcashd you must set an rpcpassword in the configuration file:\n"
+ _("To use komodod you must set an rpcpassword in the configuration file:\n"
"%s\n"
"It is recommended you use the following random password:\n"
"rpcuser=zcashrpc\n"
"The username and password MUST NOT be the same.\n"
"If the file does not exist, create it with owner-readable-only file permissions.\n"
"It is also recommended to set alertnotify so you are notified of problems;\n"
- "for example: alertnotify=echo %%s | mail -s \"
Zcash Alert\"
[email protected]\n"),
+ "for example: alertnotify=echo %%s | mail -s \"
Komodo Alert\"
[email protected]\n"),
GetConfigFile().string(),
EncodeBase58(&rand_pwd[0],&rand_pwd[0]+32)),
"", CClientUIInterface::MSG_ERROR | CClientUIInterface::SECURE);
g_rpcSignals.Started();
// Launch one async rpc worker. The ability to launch multiple workers is not recommended at present and thus the option is disabled.
- getAsyncRPCQueue()->addWorker();
+ //for (int i=0; i<32; i++)
+ getAsyncRPCQueue()->addWorker();
/*
int n = GetArg("-rpcasyncthreads", 1);
if (n<1) {
conn->stream() << HTTPError(HTTP_UNAUTHORIZED, false) << std::flush;
return false;
}
-
JSONRequest jreq;
try
{
// Parse request
Value valRequest;
if (!read_string(strRequest, valRequest))
+ {
+ fprintf(stderr,"CANTPARSE.(%s)\n",strRequest.c_str());
throw JSONRPCError(RPC_PARSE_ERROR, "Parse error");
-
+ }
// Return immediately if in warmup
{
LOCK(cs_rpcWarmup);