Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gjh@ashpool:~/minkiz/coinage/workbench/stripped$ diff -uNr bitpop darkether
- diff -uNr bitpop/src/base58.h darkether/src/base58.h
- --- bitpop/src/base58.h 2015-08-10 10:37:40.700946047 +0100
- +++ darkether/src/base58.h 2015-08-10 10:40:37.312950910 +0100
- @@ -276,7 +276,7 @@
- public:
- enum
- {
- - PUBKEY_ADDRESS = 25,
- + PUBKEY_ADDRESS = 33,
- SCRIPT_ADDRESS = 28,
- PUBKEY_ADDRESS_TEST = 111,
- SCRIPT_ADDRESS_TEST = 196,
- diff -uNr bitpop/src/bitcoinrpc.cpp darkether/src/bitcoinrpc.cpp
- --- bitpop/src/bitcoinrpc.cpp 2015-08-10 10:37:40.712946047 +0100
- +++ darkether/src/bitcoinrpc.cpp 2015-08-10 10:40:37.328950911 +0100
- @@ -42,7 +42,7 @@
- static inline unsigned short GetDefaultRPCPort()
- {
- - return GetBoolArg("-testnet", false) ? 45439 : 45437;
- + return GetBoolArg("-testnet", false) ? 11333 : 10332;
- }
- Object JSONRPCError(int code, const string& message)
- diff -uNr bitpop/src/init.cpp darkether/src/init.cpp
- --- bitpop/src/init.cpp 2015-08-10 10:37:40.700946047 +0100
- +++ darkether/src/init.cpp 2015-08-10 10:40:37.316950910 +0100
- @@ -241,7 +241,7 @@
- " -socks=<n> " + _("Select the version of socks proxy to use (4-5, default: 5)") + "\n" +
- " -tor=<ip:port> " + _("Use proxy to reach tor hidden services (default: same as -proxy)") + "\n"
- " -dns " + _("Allow DNS lookups for -addnode, -seednode and -connect") + "\n" +
- - " -port=<port> " + _("Listen for connections on <port> (default: 45438 or testnet: 45439)") + "\n" +
- + " -port=<port> " + _("Listen for connections on <port> (default: 10333 or testnet: 11333)") + "\n" +
- " -maxconnections=<n> " + _("Maintain at most <n> connections to peers (default: 125)") + "\n" +
- " -addnode=<ip> " + _("Add a node to connect to and attempt to keep the connection open") + "\n" +
- " -connect=<ip> " + _("Connect only to the specified node(s)") + "\n" +
- @@ -287,7 +287,7 @@
- #endif
- " -rpcuser=<user> " + _("Username for JSON-RPC connections") + "\n" +
- " -rpcpassword=<pw> " + _("Password for JSON-RPC connections") + "\n" +
- - " -rpcport=<port> " + _("Listen for JSON-RPC connections on <port> (default: 45437 or testnet: 45439)") + "\n" +
- + " -rpcport=<port> " + _("Listen for JSON-RPC connections on <port> (default: 10332 or testnet: 11333)") + "\n" +
- " -rpcallowip=<ip> " + _("Allow JSON-RPC connections from specified IP address") + "\n" +
- " -rpcconnect=<ip> " + _("Send commands to node running on <ip> (default: 127.0.0.1)") + "\n" +
- " -blocknotify=<cmd> " + _("Execute command when the best block changes (%s in cmd is replaced by block hash)") + "\n" +
- diff -uNr bitpop/src/main.cpp darkether/src/main.cpp
- --- bitpop/src/main.cpp 2015-08-10 10:37:40.692946047 +0100
- +++ darkether/src/main.cpp 2015-08-10 10:40:37.308950910 +0100
- @@ -40,12 +40,12 @@
- CBigNum bnProofOfStakeLimit(~uint256(0) >> 20);
- CBigNum bnProofOfWorkLimitTestNet(~uint256(0) >> 16);
- -unsigned int nTargetSpacing = 5 * 60; // 5 minutes
- -unsigned int nStakeMinAge = 8 * 60 * 60; // 8 hours
- +unsigned int nTargetSpacing = 1.5 * 60; // 1.5 minutes
- +unsigned int nStakeMinAge = 5 * 60 * 60; // 5 hours
- unsigned int nStakeMaxAge = 30 * 24 * 60 * 60; // 30 days
- unsigned int nModifierInterval = 10 * 60; // time to elapse before new modifier is computed
- -int nCoinbaseMaturity = 30;
- +int nCoinbaseMaturity = 10;
- CBlockIndex* pindexGenesisBlock = NULL;
- int nBestHeight = -1;
- @@ -966,7 +966,7 @@
- // miner's coin base reward
- int64_t GetProofOfWorkReward(int64_t nFees)
- {
- - int64_t nSubsidy = 500 * COIN;
- + int64_t nSubsidy = 1069 * COIN;
- if (fDebug && GetBoolArg("-printcreation"))
- @@ -2455,9 +2455,9 @@
- if (fTestNet)
- {
- - pchMessageStart[0] = 0xa1;
- + pchMessageStart[0] = 0xb1;
- pchMessageStart[1] = 0xa0;
- - pchMessageStart[2] = 0xa2;
- + pchMessageStart[2] = 0xd2;
- pchMessageStart[3] = 0xa3;
- bnProofOfWorkLimit = bnProofOfWorkLimitTestNet; // 0x0000ffff PoW base target is fixed in testnet
- @@ -2484,9 +2484,9 @@
- if (!fAllowNew)
- return false;
- - const char* pszTimestamp = "Beat that!";
- + const char* pszTimestamp = "My Milkshake Brings All The Boys To The Yard!";
- CTransaction txNew;
- - txNew.nTime = 1404762471;
- + txNew.nTime = 1439073391;
- txNew.vin.resize(1);
- txNew.vout.resize(1);
- txNew.vin[0].scriptSig = CScript() << 0 << CBigNum(42) << vector<unsigned char>((const unsigned char*)pszTimestamp, (const unsigned char*)pszTimestamp + strlen(pszTimestamp));
- @@ -2496,12 +2496,12 @@
- block.hashPrevBlock = 0;
- block.hashMerkleRoot = block.BuildMerkleTree();
- block.nVersion = 1;
- - block.nTime = 1404762480;
- + block.nTime = 1439073391;
- block.nBits = bnProofOfWorkLimit.GetCompact();
- - block.nNonce = 6869289;
- + block.nNonce = 1103460;
- if(fTestNet)
- {
- - block.nNonce = 6869289;
- + block.nNonce = 1103460;
- }
- if (false && (block.GetHash() != hashGenesisBlock)) {
- @@ -2525,7 +2525,7 @@
- printf("block.nNonce = %u \n", block.nNonce);
- //// debug print
- - assert(block.hashMerkleRoot == uint256("0xd4695cbda427a5da4ca141346d4d040d9a95c22ab71fbe1e8bf6aaefd01365aa"));
- + assert(block.hashMerkleRoot == uint256("0x0331184f0f4d667fe8b4e2f38661729e184f056b985a797798da78278ed71c54"));
- assert(block.GetHash() == (!fTestNet ? hashGenesisBlock : hashGenesisBlockTestNet));
- // Start new block file
- diff -uNr bitpop/src/main.h darkether/src/main.h
- --- bitpop/src/main.h 2015-08-10 10:37:40.688946046 +0100
- +++ darkether/src/main.h 2015-08-10 10:40:37.304950910 +0100
- @@ -27,7 +27,7 @@
- class CRequestTracker;
- class CNode;
- -static const int LAST_POW_BLOCK = 525600;
- +static const int LAST_POW_BLOCK = 15000;
- static const unsigned int MAX_BLOCK_SIZE = 1000000;
- static const unsigned int MAX_BLOCK_SIZE_GEN = MAX_BLOCK_SIZE/2;
- @@ -37,8 +37,8 @@
- static const int64_t MIN_TX_FEE = 1000;
- static const int64_t MIN_RELAY_TX_FEE = MIN_TX_FEE;
- static const int64_t MAX_MONEY = 500000000 * COIN;
- -static const int64_t COIN_YEAR_REWARD = 7 * CENT; // 7% per year
- -static const int64_t MAX_MINT_PROOF_OF_STAKE = 0.07 * COIN; // 7% annual interest
- +static const int64_t COIN_YEAR_REWARD = 22 * CENT; // 22% per year
- +static const int64_t MAX_MINT_PROOF_OF_STAKE = 0.22 * COIN; // 22% annual interest
- static const int MODIFIER_INTERVAL_SWITCH = 1;
- inline bool MoneyRange(int64_t nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); }
- @@ -51,8 +51,8 @@
- static const int fHaveUPnP = false;
- #endif
- -static const uint256 hashGenesisBlock("0x00000577cce4b2d686a4943fe9e9424183cb2226874e859119d478ad2a926637");
- -static const uint256 hashGenesisBlockTestNet("0x00000577cce4b2d686a4943fe9e9424183cb2226874e859119d478ad2a926637");
- +static const uint256 hashGenesisBlock("0x3f3ad5396aad6df4047260fda9f7c27bb6aaf8f6405872b79015dabada77408b");
- +static const uint256 hashGenesisBlockTestNet("0x54daa786bd5101855c5cfdcf4303cf678ec95beddfc4967554f8ab16f1c5f4b0");
- inline int64_t PastDrift(int64_t nTime) { return nTime - 10 * 60; } // up to 10 minutes from the past
- inline int64_t FutureDrift(int64_t nTime) { return nTime + 10 * 60; } // up to 10 minutes from the future
- diff -uNr bitpop/src/net.cpp darkether/src/net.cpp
- --- bitpop/src/net.cpp 2015-08-10 10:37:40.692946047 +0100
- +++ darkether/src/net.cpp 2015-08-10 10:40:37.308950910 +0100
- @@ -1139,7 +1139,7 @@
- // The first name is used as information source for addrman.
- // The second name should resolve to a list of seed addresses.
- static const char *strDNSSeed[][2] = {
- - {"108.61.72.49", "108.61.72.49"},
- + {"coinworld.cloudapp.net", "40.76.89.100"},
- };
- diff -uNr bitpop/src/protocol.h darkether/src/protocol.h
- --- bitpop/src/protocol.h 2015-08-10 10:37:40.696946047 +0100
- +++ darkether/src/protocol.h 2015-08-10 10:40:37.312950910 +0100
- @@ -18,7 +18,7 @@
- extern bool fTestNet;
- static inline unsigned short GetDefaultPort(const bool testnet = fTestNet)
- {
- - return testnet ? 45439 : 45438;
- + return testnet ? 11333 : 10333;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement