Alerts, lol
This commit is contained in:
@@ -84,6 +84,7 @@ static CBlock CreateGenesisBlock(uint32_t nTime, const uint256& nNonce, const st
|
|||||||
* (no blocks before with a timestamp after, none after with
|
* (no blocks before with a timestamp after, none after with
|
||||||
* timestamp before)
|
* timestamp before)
|
||||||
* + Contains no strange transactions
|
* + Contains no strange transactions
|
||||||
|
* + Likes long walks on the blockchain
|
||||||
*/
|
*/
|
||||||
void *chainparams_commandline();
|
void *chainparams_commandline();
|
||||||
#include "hush_defs.h"
|
#include "hush_defs.h"
|
||||||
@@ -98,7 +99,7 @@ public:
|
|||||||
{
|
{
|
||||||
|
|
||||||
strNetworkID = "main";
|
strNetworkID = "main";
|
||||||
strCurrencyUnits = "KMD";
|
strCurrencyUnits = "HUSH";
|
||||||
bip44CoinType = 141; // As registered in https://github.com/satoshilabs/slips/blob/master/slip-0044.md
|
bip44CoinType = 141; // As registered in https://github.com/satoshilabs/slips/blob/master/slip-0044.md
|
||||||
consensus.fCoinbaseMustBeProtected = false;
|
consensus.fCoinbaseMustBeProtected = false;
|
||||||
consensus.nSubsidySlowStartInterval = 20000;
|
consensus.nSubsidySlowStartInterval = 20000;
|
||||||
@@ -139,11 +140,11 @@ public:
|
|||||||
pchMessageStart[1] = 0xee;
|
pchMessageStart[1] = 0xee;
|
||||||
pchMessageStart[2] = 0xe4;
|
pchMessageStart[2] = 0xe4;
|
||||||
pchMessageStart[3] = 0x8d;
|
pchMessageStart[3] = 0x8d;
|
||||||
vAlertPubKey = ParseHex("02f20607bf67133d08246570b26816fdf727e8e54bfe919576c362c6507a2f8368");
|
vAlertPubKey = ParseHex("038a1bd41a08f38edda51042988022933c5775dfce81f7bae0b32a9179650352ac");
|
||||||
nDefaultPort = 7770;
|
nDefaultPort = 7770;
|
||||||
nMinerThreads = 0;
|
nMinerThreads = 0;
|
||||||
nMaxTipAge = 24 * 60 * 60;
|
nMaxTipAge = 24 * 60 * 60;
|
||||||
nPruneAfterHeight = 100000;
|
nPruneAfterHeight = 100000;
|
||||||
const size_t N = 200, K = 9;
|
const size_t N = 200, K = 9;
|
||||||
BOOST_STATIC_ASSERT(equihash_parameters_acceptable(N, K));
|
BOOST_STATIC_ASSERT(equihash_parameters_acceptable(N, K));
|
||||||
nEquihashN = N;
|
nEquihashN = N;
|
||||||
@@ -257,7 +258,6 @@ public:
|
|||||||
assert(maxUint/UintToArith256(consensus.powLimit) >= consensus.nPowAveragingWindow);
|
assert(maxUint/UintToArith256(consensus.powLimit) >= consensus.nPowAveragingWindow);
|
||||||
consensus.nMaxFutureBlockTime = 7 * 60;
|
consensus.nMaxFutureBlockTime = 7 * 60;
|
||||||
|
|
||||||
vAlertPubKey = ParseHex("00");
|
|
||||||
nDefaultPort = 17770;
|
nDefaultPort = 17770;
|
||||||
nMinerThreads = 0;
|
nMinerThreads = 0;
|
||||||
consensus.nPowMaxAdjustDown = 32; // 32% adjustment down
|
consensus.nPowMaxAdjustDown = 32; // 32% adjustment down
|
||||||
@@ -282,7 +282,7 @@ public:
|
|||||||
pchMessageStart[1] = 0x1F;
|
pchMessageStart[1] = 0x1F;
|
||||||
pchMessageStart[2] = 0x7E;
|
pchMessageStart[2] = 0x7E;
|
||||||
pchMessageStart[3] = 0x62;
|
pchMessageStart[3] = 0x62;
|
||||||
vAlertPubKey = ParseHex("02f20607bf67133d08246570b26816fdf727e8e54bfe919576c362c6507a2f8368");
|
vAlertPubKey = ParseHex("038a1bd41a08f38edda51042988022933c5775dfce81f7bae0b32a9179650352ac");
|
||||||
nMaxTipAge = 24 * 60 * 60;
|
nMaxTipAge = 24 * 60 * 60;
|
||||||
|
|
||||||
nPruneAfterHeight = 1000;
|
nPruneAfterHeight = 1000;
|
||||||
@@ -508,6 +508,7 @@ std::string CChainParams::GetFoundersRewardAddressAtHeight(int nHeight) const {
|
|||||||
return vFoundersRewardAddress[i];
|
return vFoundersRewardAddress[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: this is ZEC code, HUSH does not use it, and it can be deleted
|
||||||
// Block height must be >0 and <=last founders reward block height
|
// Block height must be >0 and <=last founders reward block height
|
||||||
// The founders reward address is expected to be a multisig (P2SH) address
|
// The founders reward address is expected to be a multisig (P2SH) address
|
||||||
CScript CChainParams::GetFoundersRewardScriptAtHeight(int nHeight) const {
|
CScript CChainParams::GetFoundersRewardScriptAtHeight(int nHeight) const {
|
||||||
|
|||||||
Reference in New Issue
Block a user