Skip to content

Commit

Permalink
Set mainnet founder reward to block 1121000
Browse files Browse the repository at this point in the history
  • Loading branch information
alamshafil committed Sep 20, 2022
1 parent a7101af commit 04fb52b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,11 @@ class CMainParams : public CChainParams {

vFixedSeeds = std::vector<SeedSpec6>(pnSeed6_main, pnSeed6_main + ARRAYLEN(pnSeed6_main));

// Founder reward
vector<FounderRewardStructure> rewardStructures = {
{INT_MAX, 5} // 5% founder/dev fee forever
};
consensus.nFounderPayment = FounderPayment(rewardStructures, 818787); // Block 818787
consensus.nFounderPayment = FounderPayment(rewardStructures, 1121000); // Block 1121000

fDefaultConsistencyChecks = false;
fRequireStandard = true;
Expand Down Expand Up @@ -364,6 +365,7 @@ class CTestNetParams : public CChainParams {

vFixedSeeds = std::vector<SeedSpec6>(pnSeed6_test, pnSeed6_test + ARRAYLEN(pnSeed6_test));

// Founder reward
vector<FounderRewardStructure> rewardStructures = {
{INT_MAX, 5} // 5% founder/dev fee forever
};
Expand Down Expand Up @@ -554,6 +556,7 @@ class CRegTestParams : public CChainParams {
assert(consensus.hashGenesisBlock == uint256S("0x653634d03d27ed84e8aba5dd47903906ad7be4876a1d3677be0db2891dcf787f"));
assert(genesis.hashMerkleRoot == uint256S("63d9b6b6b549a2d96eb5ac4eb2ab80761e6d7bffa9ae1a647191e08d6416184d"));

// Founder reward
vector<FounderRewardStructure> rewardStructures = {
{INT_MAX, 5} // 5% founder/dev fee forever
};
Expand Down

0 comments on commit 04fb52b

Please sign in to comment.