updated version and blockheight

This commit is contained in:
Andre Jochems
2016-06-10 13:46:45 +02:00
parent 42a1dc685e
commit d1de014deb
3 changed files with 54 additions and 9 deletions

View File

@@ -1109,16 +1109,16 @@ int64 static GetBlockValue(int nHeight, int64 nFees)
}
// Permantently reduce the number of mined coins to 10 after block 575000
// Permantently reduce the number of minded coins to 1 after block 1750000
// coin supply at that height = 40327215
// Blocks until max coin supply -> 63000000 - 40327215 = 22672785
// New height for reduction to 0 coins -> 1750000 + 22672785 = 24422785
// Permantently reduce the number of minded coins to 1 after block 1575000
// coin supply at that height = 38577206
// Blocks until max coin supply -> 63000000 - 38577206 = 24422794
// New height for reduction to 0 coins -> 1575000 + 24422794 = 25997794
if(nHeight > 575000){
if(nHeight < 1750000)
if(nHeight < 1575000)
{
nSubsidy = 10 * COIN;
}
else if(nHeight >= 1750000 && nHeight <= 24422785){
else if(nHeight >= 1575000 && nHeight <= 25997794){
nSubsidy = 1 * COIN;
}
else
@@ -3502,9 +3502,9 @@ void static ProcessGetData(CNode* pfrom)
bool static CheckValidClientVersion(int clientVersion)
{
// From block 1750000 onwards version must be 80001 (MIN_PEER_PROTO_VERSION)
// From block 1575000 onwards version must be 80001 (MIN_PEER_PROTO_VERSION)
// Before that version was 70004
if(pindexBest->nHeight >= 1750000)
if(pindexBest->nHeight >= 1575000)
{
if(clientVersion < MIN_PEER_PROTO_VERSION)
return false;

View File

@@ -8,7 +8,7 @@
// Name of client reported in the 'version' message. Report the same name
// for both bitcoind and bitcoin-qt, to make it harder for attackers to
// target servers or GUI users specifically.
const std::string CLIENT_NAME("digishield");
const std::string CLIENT_NAME("LTS-V3");
// Client version number
#define CLIENT_VERSION_SUFFIX ""