Skip to content

Commit e9de528

Browse files
committed
collateral block height updated.
1 parent 7ebbaec commit e9de528

5 files changed

Lines changed: 14 additions & 14 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ More information at [clearnodes.com](http://www.clearnodes.com)
1313
<tr><td>Difficulty Retargeting</td><td>Every Block</td></tr>
1414
<tr><td>Max Coin Supply (PoS Phase)</td><td>1000M</td></tr>
1515
<tr><td>Premine</td><td>500,000 CLR*</td></tr>
16-
<tr><td>New Premine (630000 Block)</td><td>20,000,000 CLR*</td></tr>
16+
<tr><td>New Premine (635000 Block)</td><td>20,000,000 CLR*</td></tr>
1717
</table>
1818

1919
RPC Port 32627
@@ -234,15 +234,15 @@ Explorer http://explorer.clearnodes.com
234234
<td class=xl6817252 align=right>0.009</td>
235235
</tr>
236236
<tr height=21 style='mso-height-source:userset;height:15.75pt'>
237-
<td height=21 class=xl6417252 style='height:15.75pt'>550001-629999</td>
237+
<td height=21 class=xl6417252 style='height:15.75pt'>550001-635000</td>
238238
<td class=xl6617252>50</td>
239239
<td class=xl6617252>99.98</td>
240240
<td class=xl6617252>0.02</td>
241241
<td class=xl6717252 align=right>49.99</td>
242242
<td class=xl6817252 align=right>0.01</td>
243243
</tr>
244244
<tr height=21 style='mso-height-source:userset;height:15.75pt'>
245-
<td height=21 class=xl6417252 style='height:15.75pt'>630001-650000</td>
245+
<td height=21 class=xl6417252 style='height:15.75pt'>635001-650000</td>
246246
<td class=xl6617252>100</td>
247247
<td class=xl6617252>90</td>
248248
<td class=xl6617252>10</td>

src/main.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1925,11 +1925,11 @@ int64_t GetBlockValue(int nHeight)
19251925
nSubsidy = 40 * COIN;
19261926
} else if (nHeight <= 550000 && nHeight > 500000) {
19271927
nSubsidy = 45 * COIN;
1928-
} else if (nHeight < 630000 && nHeight > 550000) {
1928+
} else if (nHeight < 635000 && nHeight > 550000) {
19291929
nSubsidy = 50 * COIN;
1930-
} else if (nHeight == 630000){
1930+
} else if (nHeight == 635000){
19311931
nSubsidy = 20000000 * COIN;
1932-
} else if (nHeight <= 650000 && nHeight > 630000) {
1932+
} else if (nHeight <= 650000 && nHeight > 635000) {
19331933
nSubsidy = 100 * COIN;
19341934
} else if (nHeight <= 670000 && nHeight > 650000) {
19351935
nSubsidy = 120 * COIN;
@@ -1969,9 +1969,9 @@ int64_t GetMasternodePayment(int nHeight, int64_t blockValue, int nMasternodeCou
19691969
return 0;
19701970
} else if (nHeight <=12000 && nHeight > Params().LAST_POW_BLOCK()){
19711971
ret = blockValue * 98/100;
1972-
} else if (nHeight < 630000 && nHeight > 12000){
1972+
} else if (nHeight < 635000 && nHeight > 12000){
19731973
ret = blockValue * 9998/10000;
1974-
} else if (nHeight == 630000){
1974+
} else if (nHeight == 635000){
19751975
ret = 0;
19761976
} else {
19771977
ret = blockValue * 90/100;
@@ -3956,7 +3956,7 @@ bool IsDevFeeValid(const CBlock& block, int nBlockHeight)
39563956

39573957
CAmount blockValue = GetBlockValue(nBlockHeight);
39583958
CAmount devfee = 0;
3959-
if(nBlockHeight == 630000){
3959+
if(nBlockHeight == 635000){
39603960
devfee = blockValue; //10%
39613961
}
39623962

src/main.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ inline int64_t GetMasterNodeCollateral(int nHeight){
9999
return 20000;
100100
} else if (nHeight <= 400000 && nHeight > 350000) {
101101
return 35000;
102-
} else if (nHeight <= 630000 && nHeight > 400000) {
102+
} else if (nHeight <= 635000 && nHeight > 400000) {
103103
return 50000;
104-
} else if (nHeight <= 650000 && nHeight > 630000) {
104+
} else if (nHeight <= 650000 && nHeight > 635000) {
105105
return 200000;
106106
} else if (nHeight <= 670000 && nHeight > 400000) {
107107
return 230000;

src/masternode-payments.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ void CMasternodePayments::FillBlockPayee(CMutableTransaction& txNew, int64_t nFe
315315

316316
CAmount devfee = 0;
317317
bool newpremine = false;
318-
if (pindexPrev->nHeight + 1 == 630000)
318+
if (pindexPrev->nHeight + 1 == 635000)
319319
{
320320
blockValue = GetBlockValue(pindexPrev->nHeight + 1);
321321
masternodePayment = GetMasternodePayment(pindexPrev->nHeight + 1, blockValue, 0, fZCLRStake);

src/masternode-sync.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ bool CMasternodeSync::IsBlockchainSynced()
3636
static int64_t lastProcess = GetTime();
3737

3838
// if the last call to this function was more than 60 minutes ago (client was in sleep mode) reset the sync process
39-
if (GetTime() - lastProcess > 60 * 60 * 240) {
39+
if (GetTime() - lastProcess > 60 * 60 ) {
4040
Reset();
4141
fBlockchainSynced = false;
4242
}
@@ -53,7 +53,7 @@ bool CMasternodeSync::IsBlockchainSynced()
5353
if (pindex == NULL) return false;
5454

5555

56-
if (pindex->nTime + 60 * 60 * 240 < GetTime())
56+
if (pindex->nTime + 60 * 60 < GetTime())
5757
return false;
5858

5959
fBlockchainSynced = true;

0 commit comments

Comments
 (0)