diff --git a/src/main.cpp b/src/main.cpp index ee8c22a..30f3962 100644 --- a/src/main.cpp +++ b/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 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; diff --git a/src/version.cpp b/src/version.cpp index c0954e7..9f88b50 100644 --- a/src/version.cpp +++ b/src/version.cpp @@ -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 "" diff --git a/windows-inno-script.iss b/windows-inno-script.iss new file mode 100644 index 0000000..6a24636 --- /dev/null +++ b/windows-inno-script.iss @@ -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 +