Browse Source

renamed Anoncoin to Gostcoin

pull/5/head
orignal 7 years ago
parent
commit
5eb41fb5d0
  1. 2
      i2pd
  2. 12
      src/rpcmining.cpp

2
i2pd

@ -1 +1 @@ @@ -1 +1 @@
Subproject commit 3d1b6e29c6cf3f1c56c279819e8100b1c775b775
Subproject commit abf0f5ac8780c9cb0088e4ccefcd0d0274e63965

12
src/rpcmining.cpp

@ -171,10 +171,10 @@ Value getworkex(const Array& params, bool fHelp) @@ -171,10 +171,10 @@ Value getworkex(const Array& params, bool fHelp)
);
if (vNodes.empty())
throw JSONRPCError(RPC_CLIENT_NOT_CONNECTED, "Anoncoin is not connected!");
throw JSONRPCError(RPC_CLIENT_NOT_CONNECTED, "Gostcoin is not connected!");
if (IsInitialBlockDownload())
throw JSONRPCError(RPC_CLIENT_IN_INITIAL_DOWNLOAD, "Anoncoin is downloading blocks...");
throw JSONRPCError(RPC_CLIENT_IN_INITIAL_DOWNLOAD, "Gostcoin is downloading blocks...");
typedef map<uint256, pair<CBlock*, CScript> > mapNewBlock_t;
static mapNewBlock_t mapNewBlock; // FIXME: thread safety
@ -310,10 +310,10 @@ Value getwork(const Array& params, bool fHelp) @@ -310,10 +310,10 @@ Value getwork(const Array& params, bool fHelp)
"If [data] is specified, tries to solve the block and returns true if it was successful.");
if (vNodes.empty())
throw JSONRPCError(RPC_CLIENT_NOT_CONNECTED, "Anoncoin is not connected!");
throw JSONRPCError(RPC_CLIENT_NOT_CONNECTED, "Gostcoin is not connected!");
if (IsInitialBlockDownload())
throw JSONRPCError(RPC_CLIENT_IN_INITIAL_DOWNLOAD, "Anoncoin is downloading blocks...");
throw JSONRPCError(RPC_CLIENT_IN_INITIAL_DOWNLOAD, "Gostcoin is downloading blocks...");
typedef map<uint256, pair<CBlock*, CScript> > mapNewBlock_t;
static mapNewBlock_t mapNewBlock; // FIXME: thread safety
@ -450,10 +450,10 @@ Value getblocktemplate(const Array& params, bool fHelp) @@ -450,10 +450,10 @@ Value getblocktemplate(const Array& params, bool fHelp)
throw JSONRPCError(RPC_INVALID_PARAMETER, "Invalid mode");
if (vNodes.empty())
throw JSONRPCError(RPC_CLIENT_NOT_CONNECTED, "Anoncoin is not connected!");
throw JSONRPCError(RPC_CLIENT_NOT_CONNECTED, "Gostcoin is not connected!");
if (IsInitialBlockDownload())
throw JSONRPCError(RPC_CLIENT_IN_INITIAL_DOWNLOAD, "Anoncoin is downloading blocks...");
throw JSONRPCError(RPC_CLIENT_IN_INITIAL_DOWNLOAD, "Gostcoin is downloading blocks...");
// Update block
static unsigned int nTransactionsUpdatedLast;

Loading…
Cancel
Save