From 40a12f6c6831ac2c830cb0fc66a3db49b3d4dd21 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Mon, 7 Mar 2016 02:51:15 -0500 Subject: [PATCH] Change constant keys to shit I found on google (note script/interpreter must match wallet/rpcwallet) --- src/chainparams.cpp | 2 +- src/script/interpreter.cpp | 2 +- src/wallet/rpcwallet.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/chainparams.cpp b/src/chainparams.cpp index c43f283b35..4291cd317b 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -83,7 +83,7 @@ public: nDefaultPort = 9042; nPruneAfterHeight = 100000; - CScript scriptDestination(CScript() << OP_TRUE); + CScript scriptDestination(CScript() << OP_1 << ParseHex("03aeb681df5ac19e449a872b9e9347f1db5a0394d2ec5caf2a9c143f86e232b0d9") << OP_1 << OP_CHECKMULTISIG); genesis = CreateGenesisBlock(strNetworkID.c_str(), scriptDestination, 1231006505, 2083236893, 0x1d00ffff, 1, MAX_MONEY); consensus.hashGenesisBlock = genesis.GetHash(); diff --git a/src/script/interpreter.cpp b/src/script/interpreter.cpp index 67a4a67588..ed86a2e134 100644 --- a/src/script/interpreter.cpp +++ b/src/script/interpreter.cpp @@ -1165,7 +1165,7 @@ bool EvalScript(vector >& stack, const CScript& script, un return set_error(serror, SCRIPT_ERR_WITHDRAW_VERIFY_FORMAT); opcodetype opcodeTmp; - CScript scriptDestination(CScript() << OP_1 << ParseHex("03a34b99f22c790c4e36b2b3c2c35a36db06226e41c692fc82b8b56ac1c540c5bd") << OP_1 << OP_CHECKMULTISIG); + CScript scriptDestination(CScript() << OP_1 << ParseHex("03d728ad6757d4784effea04d47baafa216cf474866c2d4dc99b1e8e3eb936e730") << OP_1 << OP_CHECKMULTISIG); { CScript::iterator sdpc = scriptDestination.begin(); vector vch; diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index a55c5380d1..85f05ae6bf 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -37,7 +37,7 @@ int64_t nWalletUnlockTime; static CCriticalSection cs_nWalletUnlockTime; //Redeemscript template for alpha fedpeg -static const CScript fedRedeemScript(CScript() << OP_1 << ParseHex("03a34b99f22c790c4e36b2b3c2c35a36db06226e41c692fc82b8b56ac1c540c5bd") << OP_1 << OP_CHECKMULTISIG); +static const CScript fedRedeemScript(CScript() << OP_1 << ParseHex("03d728ad6757d4784effea04d47baafa216cf474866c2d4dc99b1e8e3eb936e730") << OP_1 << OP_CHECKMULTISIG); static uint256 genesisBlockHash(uint256S("000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f"));