mirror of
https://github.com/AskDavis/Casinotest.git
synced 2026-01-01 05:05:57 -08:00
updated version and blockheight
This commit is contained in:
16
src/main.cpp
16
src/main.cpp
@@ -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 mined coins to 10 after block 575000
|
||||||
// Permantently reduce the number of minded coins to 1 after block 1750000
|
// Permantently reduce the number of minded coins to 1 after block 1575000
|
||||||
// coin supply at that height = 40327215
|
// coin supply at that height = 38577206
|
||||||
// Blocks until max coin supply -> 63000000 - 40327215 = 22672785
|
// Blocks until max coin supply -> 63000000 - 38577206 = 24422794
|
||||||
// New height for reduction to 0 coins -> 1750000 + 22672785 = 24422785
|
// New height for reduction to 0 coins -> 1575000 + 24422794 = 25997794
|
||||||
if(nHeight > 575000){
|
if(nHeight > 575000){
|
||||||
if(nHeight < 1750000)
|
if(nHeight < 1575000)
|
||||||
{
|
{
|
||||||
nSubsidy = 10 * COIN;
|
nSubsidy = 10 * COIN;
|
||||||
}
|
}
|
||||||
else if(nHeight >= 1750000 && nHeight <= 24422785){
|
else if(nHeight >= 1575000 && nHeight <= 25997794){
|
||||||
nSubsidy = 1 * COIN;
|
nSubsidy = 1 * COIN;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -3502,9 +3502,9 @@ void static ProcessGetData(CNode* pfrom)
|
|||||||
|
|
||||||
bool static CheckValidClientVersion(int clientVersion)
|
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
|
// Before that version was 70004
|
||||||
if(pindexBest->nHeight >= 1750000)
|
if(pindexBest->nHeight >= 1575000)
|
||||||
{
|
{
|
||||||
if(clientVersion < MIN_PEER_PROTO_VERSION)
|
if(clientVersion < MIN_PEER_PROTO_VERSION)
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
// Name of client reported in the 'version' message. Report the same name
|
// 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
|
// for both bitcoind and bitcoin-qt, to make it harder for attackers to
|
||||||
// target servers or GUI users specifically.
|
// target servers or GUI users specifically.
|
||||||
const std::string CLIENT_NAME("digishield");
|
const std::string CLIENT_NAME("LTS-V3");
|
||||||
|
|
||||||
// Client version number
|
// Client version number
|
||||||
#define CLIENT_VERSION_SUFFIX ""
|
#define CLIENT_VERSION_SUFFIX ""
|
||||||
|
|||||||
45
windows-inno-script.iss
Normal file
45
windows-inno-script.iss
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
; Script generated by the Inno Setup Script Wizard.
|
||||||
|
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
||||||
|
|
||||||
|
#define MyAppName "Casinocoin"
|
||||||
|
#define MySetupAppName "casinocoin"
|
||||||
|
#define MyAppVersion "3.0.0.0"
|
||||||
|
#define MyAppPublisher "Casinocoin Foundation"
|
||||||
|
#define MyAppURL "http://www.casinocoin.org"
|
||||||
|
#define MyAppExeName "casinocoin-qt.exe"
|
||||||
|
|
||||||
|
[Setup]
|
||||||
|
; NOTE: The value of AppId uniquely identifies this application.
|
||||||
|
; Do not use the same AppId value in installers for other applications.
|
||||||
|
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
|
||||||
|
AppId={{1698FEC3-9D7C-43F3-B379-9028E51F8B56}
|
||||||
|
AppName={#MyAppName}
|
||||||
|
AppVersion={#MyAppVersion}
|
||||||
|
;AppVerName={#MyAppName} {#MyAppVersion}
|
||||||
|
AppPublisher={#MyAppPublisher}
|
||||||
|
AppPublisherURL={#MyAppURL}
|
||||||
|
AppSupportURL={#MyAppURL}
|
||||||
|
AppUpdatesURL={#MyAppURL}
|
||||||
|
DefaultDirName={pf}\{#MyAppName}
|
||||||
|
DisableProgramGroupPage=yes
|
||||||
|
OutputBaseFilename={#MySetupAppName}-{#MyAppVersion}-setup
|
||||||
|
Compression=lzma
|
||||||
|
SolidCompression=yes
|
||||||
|
|
||||||
|
[Languages]
|
||||||
|
Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||||
|
|
||||||
|
[Tasks]
|
||||||
|
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
||||||
|
|
||||||
|
[Files]
|
||||||
|
Source: "C:\Users\a.jochems\Documents\GitHub\casinocoin-development\release\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||||
|
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
||||||
|
|
||||||
|
[Icons]
|
||||||
|
Name: "{commonprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
|
||||||
|
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
|
||||||
|
|
||||||
|
[Run]
|
||||||
|
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
|
||||||
|
|
||||||
Reference in New Issue
Block a user