Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Diff between Peercoindark and Uranuscoin.
- Both are 100% clones, not even obvious things have been changed like the message:
- < // Subsidy is cut in half every 50000 blocks, which will occur approximately every 4 years
- < nSubsidy >>= (nHeight / 50000);
- ---
- > // Subsidy is cut in half every 612000 blocks, which will occur approximately every 4 years
- > nSubsidy >>= (nHeight / 612000);
- Its obvious that both cannot be occur every 4 years the same..
- Also the Naming of the Directory already is suspicious .. Both have COINNAME-ABBREVIATION as naming.
- Both Coins compile to "bitcoind" and have serious diff retargeting issues, you should not mine this coin if you dont want to get scammed:
- diff PeercoinDark_v2_PPCD/src/bitcoinrpc.cpp URANUSCOIN-URAN/src/bitcoinrpc.cpp
- 46c46
- < return GetBoolArg("-testnet", false) ? 5745 : 10789;
- ---
- > return GetBoolArg("-testnet", false) ? 5745 : 21000;
- 100c100
- < if (dAmount <= 0.0 || dAmount > 201400000)
- ---
- > if (dAmount <= 0.0 || dAmount > 3672000)
- 186c186
- < "Stop PEERCOINDARK server.");
- ---
- > "Stop URANUSCOIN server.");
- 189c189
- < return "PEERCOINDARK server stopping";
- ---
- > return "URANUSCOIN server stopping";
- 297c297
- < << "User-Agent: peercoindark-json-rpc/" << FormatFullVersion() << "\r\n"
- ---
- > << "User-Agent: uranuscoin-json-rpc/" << FormatFullVersion() << "\r\n"
- 328c328
- < "Server: peercoindark-json-rpc/%s\r\n"
- ---
- > "Server: uranuscoin-json-rpc/%s\r\n"
- 355c355
- < "Server: peercoindark-json-rpc/%s\r\n"
- ---
- > "Server: uranuscoin-json-rpc/%s\r\n"
- 738c738
- < string strWhatAmI = "To use peercoindarkd";
- ---
- > string strWhatAmI = "To use uranuscoind";
- 747c747
- < "rpcuser=peercoindarkrpc\n"
- ---
- > "rpcuser=uranuscoinrpc\n"
- 753c753
- < "for example: alertnotify=echo %%s | mail -s \"PEERCOINDARK Alert\" admin@foo.com\n"),
- ---
- > "for example: alertnotify=echo %%s | mail -s \"URANUSCOIN Alert\" admin@foo.com\n"),
- diff PeercoinDark_v2_PPCD/src/checkpoints.cpp URANUSCOIN-URAN/src/checkpoints.cpp
- 38c38
- < ( 0, uint256("0x000000006687caaff81c22ac4d75d282c563c38691c6efc0df44f1ff9f6a99ee"))
- ---
- > ( 0, uint256("0x000000005c8cb2f26668b95dbf1914d4e97f2f8d762b4eaea18a74b38fa57f9d"))
- diff PeercoinDark_v2_PPCD/src/init.cpp URANUSCOIN-URAN/src/init.cpp
- 177c177
- < std::string strUsage = _("PEERCOINDARK version") + " " + FormatFullVersion() + "\n\n" +
- ---
- > std::string strUsage = _("URANUSCOIN version") + " " + FormatFullVersion() + "\n\n" +
- 179,182c179,182
- < " peercoindarkd [options] " + "\n" +
- < " peercoindarkd [options] <command> [params] " + _("Send command to -server or peercoindarkd") + "\n" +
- < " peercoindarkd [options] help " + _("List commands") + "\n" +
- < " peercoindarkd [options] help <command> " + _("Get help for a command") + "\n";
- ---
- > " uranuscoind [options] " + "\n" +
- > " uranuscoind [options] <command> [params] " + _("Send command to -server or uranuscoind") + "\n" +
- > " uranuscoind [options] help " + _("List commands") + "\n" +
- > " uranuscoind [options] help <command> " + _("Get help for a command") + "\n";
- 192c192
- < if (!IsSwitchChar(argv[i][0]) && !boost::algorithm::istarts_with(argv[i], "peercoindark:"))
- ---
- > if (!IsSwitchChar(argv[i][0]) && !boost::algorithm::istarts_with(argv[i], "uranuscoin:"))
- 295,296c295,296
- < " -conf=<file> " + _("Specify configuration file (default: peercoindark.conf)") + "\n" +
- < " -pid=<file> " + _("Specify pid file (default: peercoindarkd.pid)") + "\n" +
- ---
- > " -conf=<file> " + _("Specify configuration file (default: uranuscoin.conf)") + "\n" +
- > " -pid=<file> " + _("Specify pid file (default: uranuscoind.pid)") + "\n" +
- 305c305
- < " -port=<port> " + _("Listen for connections on <port> (default: 10989 or testnet: 20989)") + "\n" +
- ---
- > " -port=<port> " + _("Listen for connections on <port> (default: 11000 or testnet: 5744)") + "\n" +
- 346c346
- < " -rpcport=<port> " + _("Listen for JSON-RPC connections on <port> (default: 10789 or testnet: 5745)") + "\n" +
- ---
- > " -rpcport=<port> " + _("Listen for JSON-RPC connections on <port> (default: 21000 or testnet: 5745)") + "\n" +
- 371c371
- < "\n" + _("SSL options: (see the PEERCOINDARK Wiki for SSL setup instructions)") + "\n" +
- ---
- > "\n" + _("SSL options: (see the URANUSCOIN Wiki for SSL setup instructions)") + "\n" +
- 630c630
- < return InitError(strprintf(_("Cannot obtain a lock on data directory %s. PEERCOINDARK is probably already running."), strDataDir.c_str()));
- ---
- > return InitError(strprintf(_("Cannot obtain a lock on data directory %s. URANUSCOIN is probably already running."), strDataDir.c_str()));
- 635c635
- < printf("PEERCOINDARK version %s (%s)\n", FormatFullVersion().c_str(), CLIENT_DATE.c_str());
- ---
- > printf("URANUSCOIN version %s (%s)\n", FormatFullVersion().c_str(), CLIENT_DATE.c_str());
- 645c645
- < fprintf(stdout, "PEERCOINDARK server starting\n");
- ---
- > fprintf(stdout, "URANUSCOIN server starting\n");
- 967c967
- < strErrors << _("Error loading wallet.dat: Wallet requires newer version of PEERCOINDARK") << "\n";
- ---
- > strErrors << _("Error loading wallet.dat: Wallet requires newer version of URANUSCOIN") << "\n";
- 970c970
- < strErrors << _("Wallet needed to be rewritten: restart PEERCOINDARK to complete") << "\n";
- ---
- > strErrors << _("Wallet needed to be rewritten: restart URANUSCOIN to complete") << "\n";
- Common Subdirectory: PeercoinDark_v2_PPCD/src/json and URANUSCOIN-URAN/src/json.
- Common Subdirectory: PeercoinDark_v2_PPCD/src/leveldb and URANUSCOIN-URAN/src/leveldb.
- diff PeercoinDark_v2_PPCD/src/main.cpp URANUSCOIN-URAN/src/main.cpp
- 34c34
- < uint256 hashGenesisBlock("0x000000006687caaff81c22ac4d75d282c563c38691c6efc0df44f1ff9f6a99ee");
- ---
- > uint256 hashGenesisBlock("0x000000005c8cb2f26668b95dbf1914d4e97f2f8d762b4eaea18a74b38fa57f9d");
- 67c67
- < const string strMessageMagic = "PEERCOINDARK Signed Message:\n";
- ---
- > const string strMessageMagic = "URANUSCOIN Signed Message:\n";
- 1076c1076
- < int64 nSubsidy = 2014 * COIN;
- ---
- > int64 nSubsidy = 3 * COIN;
- 1078,1079c1078,1079
- < // Subsidy is cut in half every 50000 blocks, which will occur approximately every 4 years
- < nSubsidy >>= (nHeight / 50000);
- ---
- > // Subsidy is cut in half every 612000 blocks, which will occur approximately every 4 years
- > nSubsidy >>= (nHeight / 612000);
- 2727c2727
- < hashGenesisBlock = uint256("0x000000006687caaff81c22ac4d75d282c563c38691c6efc0df44f1ff9f6a99ee");
- ---
- > hashGenesisBlock = uint256("0x000000005c8cb2f26668b95dbf1914d4e97f2f8d762b4eaea18a74b38fa57f9d");
- 2765c2765
- < block.nTime = 1413420467;
- ---
- > block.nTime = 1415061922;
- 2767c2767
- < block.nNonce = 1790071958;
- ---
- > block.nNonce = 1262967020;
- 2771,2772c2771,2772
- < block.nTime = 1413420467;
- < block.nNonce = 1790071958;
- ---
- > block.nTime = 1415061922;
- > block.nNonce = 1262967020;
- 4508c4508
- < printf("PEERCOINDARKMiner:\n");
- ---
- > printf("URANUSCOINMiner:\n");
- 4517c4517
- < return error("PEERCOINDARKMiner : generated block is stale");
- ---
- > return error("URANUSCOINMiner : generated block is stale");
- 4531c4531
- < return error("PEERCOINDARKMiner : ProcessBlock, block not accepted");
- ---
- > return error("URANUSCOINMiner : ProcessBlock, block not accepted");
- 4539c4539
- < printf("PEERCOINDARKMiner started\n");
- ---
- > printf("URANUSCOINMiner started\n");
- 4563c4563
- < printf("Running PEERCOINDARKMiner with %"PRIszu" transactions in block (%u bytes)\n", pblock->vtx.size(),
- ---
- > printf("Running URANUSCOINMiner with %"PRIszu" transactions in block (%u bytes)\n", pblock->vtx.size(),
- 4668c4668
- < printf("PEERCOINDARKMiner terminated\n");
- ---
- > printf("URANUSCOINMiner terminated\n");
- diff PeercoinDark_v2_PPCD/src/main.h URANUSCOIN-URAN/src/main.h
- 52c52
- < static const int64 MAX_MONEY = 201400000 * COIN;
- ---
- > static const int64 MAX_MONEY = 3672000 * COIN;
- 55c55
- < static const int COINBASE_MATURITY = 2;
- ---
- > static const int COINBASE_MATURITY = 4;
- diff PeercoinDark_v2_PPCD/src/net.cpp URANUSCOIN-URAN/src/net.cpp
- 1114c1114
- < string strDesc = "PEERCOINDARK " + FormatFullVersion();
- ---
- > string strDesc = "URANUSCOIN " + FormatFullVersion();
- 1754c1754
- < strError = strprintf(_("Unable to bind to %s on this computer. PEERCOINDARK is probably already running."), addrBind.ToString().c_str());
- ---
- > strError = strprintf(_("Unable to bind to %s on this computer. URANUSCOIN is probably already running."), addrBind.ToString().c_str());
- Gemeinsame Unterverzeichnisse: PeercoinDark_v2_PPCD/src/obj and URANUSCOIN-URAN/src/obj.
- Gemeinsame Unterverzeichnisse: PeercoinDark_v2_PPCD/src/obj-test and URANUSCOIN-URAN/src/obj-test.
- diff PeercoinDark_v2_PPCD/src/protocol.h URANUSCOIN-URAN/src/protocol.h
- 21c21
- < return testnet ? 20789 : 10789;
- ---
- > return testnet ? 5744 : 11000;
- Common Subdirectory: PeercoinDark_v2_PPCD/src/qt and URANUSCOIN-URAN/src/qt.
- diff PeercoinDark_v2_PPCD/src/rpcdump.cpp URANUSCOIN-URAN/src/rpcdump.cpp
- 39c39
- < "importprivkey <peercoindarkprivkey> [label] [rescan=true]\n"
- ---
- > "importprivkey <uranuscoinprivkey> [label] [rescan=true]\n"
- 84,85c84,85
- < "dumpprivkey <peercoindarkaddress>\n"
- < "Reveals the private key corresponding to <peercoindarkaddress>.");
- ---
- > "dumpprivkey <uranuscoinaddress>\n"
- > "Reveals the private key corresponding to <uranuscoinaddress>.");
- 90c90
- < throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid PEERCOINDARK address");
- ---
- > throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid URANUSCOIN address");
- diff PeercoinDark_v2_PPCD/src/rpcmining.cpp URANUSCOIN-URAN/src/rpcmining.cpp
- 99c99
- < throw JSONRPCError(RPC_CLIENT_NOT_CONNECTED, "PEERCOINDARK is not connected!");
- ---
- > throw JSONRPCError(RPC_CLIENT_NOT_CONNECTED, "URANUSCOIN is not connected!");
- 102c102
- < throw JSONRPCError(RPC_CLIENT_IN_INITIAL_DOWNLOAD, "PEERCOINDARK is downloading blocks...");
- ---
- > throw JSONRPCError(RPC_CLIENT_IN_INITIAL_DOWNLOAD, "URANUSCOIN is downloading blocks...");
- 239c239
- < throw JSONRPCError(RPC_CLIENT_NOT_CONNECTED, "PEERCOINDARK is not connected!");
- ---
- > throw JSONRPCError(RPC_CLIENT_NOT_CONNECTED, "URANUSCOIN is not connected!");
- 242c242
- < throw JSONRPCError(RPC_CLIENT_IN_INITIAL_DOWNLOAD, "PEERCOINDARK is downloading blocks...");
- ---
- > throw JSONRPCError(RPC_CLIENT_IN_INITIAL_DOWNLOAD, "URANUSCOIN is downloading blocks...");
- diff PeercoinDark_v2_PPCD/src/rpcrawtransaction.cpp URANUSCOIN-URAN/src/rpcrawtransaction.cpp
- 198c198
- < throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, string("Invalid PEERCOINDARK address: ")+input.get_str());
- ---
- > throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, string("Invalid URANUSCOIN address: ")+input.get_str());
- 296c296
- < throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, string("Invalid PEERCOINDARK address: ")+s.name_);
- ---
- > throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, string("Invalid URANUSCOIN address: ")+s.name_);
- diff PeercoinDark_v2_PPCD/src/rpcwallet.cpp URANUSCOIN-URAN/src/rpcwallet.cpp
- 99c99
- < "Returns a new PEERCOINDARK address for receiving payments. "
- ---
- > "Returns a new URANUSCOIN address for receiving payments. "
- 166c166
- < "Returns the current PEERCOINDARK address for receiving payments to this account.");
- ---
- > "Returns the current URANUSCOIN address for receiving payments to this account.");
- 184c184
- < "setaccount <peercoindarkaddress> <account>\n"
- ---
- > "setaccount <uranuscoinaddress> <account>\n"
- 189c189
- < throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid PEERCOINDARK address");
- ---
- > throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid URANUSCOIN address");
- 214c214
- < "getaccount <peercoindarkaddress>\n"
- ---
- > "getaccount <uranuscoinaddress>\n"
- 219c219
- < throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid PEERCOINDARK address");
- ---
- > throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid URANUSCOIN address");
- 254c254
- < "sendtoaddress <peercoindarkaddress> <amount> [comment] [comment-to]\n"
- ---
- > "sendtoaddress <uranuscoinaddress> <amount> [comment] [comment-to]\n"
- 260c260
- < throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid PEERCOINDARK address");
- ---
- > throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid URANUSCOIN address");
- 317c317
- < "signmessage <peercoindarkaddress> <message>\n"
- ---
- > "signmessage <uranuscoinaddress> <message>\n"
- 352c352
- < "verifymessage <peercoindarkaddress> <signature> <message>\n"
- ---
- > "verifymessage <uranuscoinaddress> <signature> <message>\n"
- 389,390c389,390
- < "getreceivedbyaddress <peercoindarkaddress> [minconf=1]\n"
- < "Returns the total amount received by <peercoindarkaddress> in transactions with at least [minconf] confirmations.");
- ---
- > "getreceivedbyaddress <uranuscoinaddress> [minconf=1]\n"
- > "Returns the total amount received by <uranuscoinaddress> in transactions with at least [minconf] confirmations.");
- 396c396
- < throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid PEERCOINDARK address");
- ---
- > throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid URANUSCOIN address");
- 610c610
- < "sendfrom <fromaccount> <topeercoindarkaddress> <amount> [minconf=1] [comment] [comment-to]\n"
- ---
- > "sendfrom <fromaccount> <touranuscoinaddress> <amount> [minconf=1] [comment] [comment-to]\n"
- 617c617
- < throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid PEERCOINDARK address");
- ---
- > throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, "Invalid URANUSCOIN address");
- 673c673
- < throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, string("Invalid PEERCOINDARK address: ")+s.name_);
- ---
- > throw JSONRPCError(RPC_INVALID_ADDRESS_OR_KEY, string("Invalid URANUSCOIN address: ")+s.name_);
- 767c767
- < "each key is a PEERCOINDARK address or hex-encoded public key\n"
- ---
- > "each key is a URANUSCOIN address or hex-encoded public key\n"
- 792c792
- < "address : peercoindark address\n"
- ---
- > "address : uranuscoin address\n"
- 1435c1435
- < return "wallet encrypted; PEERCOINDARK server stopping, restart to run with encrypted wallet. The keypool has been flushed, you need to make a new backup.";
- ---
- > return "wallet encrypted; URANUSCOIN server stopping, restart to run with encrypted wallet. The keypool has been flushed, you need to make a new backup.";
- 1477,1478c1477,1478
- < "validateaddress <peercoindarkaddress>\n"
- < "Return information about <peercoindarkaddress>.");
- ---
- > "validateaddress <uranuscoinaddress>\n"
- > "Return information about <uranuscoinaddress>.");
- diff PeercoinDark_v2_PPCD/src/util.cpp URANUSCOIN-URAN/src/util.cpp
- 1105c1105
- < boost::filesystem::path pathPidFile(GetArg("-pid", "peercoindarkd.pid"));
- ---
- > boost::filesystem::path pathPidFile(GetArg("-pid", "uranuscoind.pid"));
- 1334c1334
- < string strMessage = _("Warning: Please check that your computer's date and time are correct! If your clock is wrong PEERCOINDARK will not work properly.");
- ---
- > string strMessage = _("Warning: Please check that your computer's date and time are correct! If your clock is wrong URANUSCOIN will not work properly.");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement