Browse Source

Set vrsion to 4.0.3

PascalCoin 6 years ago
parent
commit
c4b0a53215

+ 3 - 4
README.md

@@ -34,10 +34,10 @@ Also, consider a donation at PascalCoin development account: "0-10"
 
 ## History:  
 
-### CURRENT DEVELOPMENT (4.0.3d)
+### Build 4.0.3 - 2019-04-10
 - Improvements:
   - Up to +1600 operations per second using a domestic computer (4 CPU)
-  - Donwload and check new Safebox in less than 5 minutes
+  - Download and check new Safebox in less than 5 minutes
 - TESTNET:
   - Added functions to automatically receive new accounts for new installed fresh nodes
 - Major refactoring: 
@@ -55,8 +55,7 @@ Also, consider a donation at PascalCoin development account: "0-10"
   - Miner bug after loading blocks on start-up if last saved block was a checkpoint block
 - Gui-Classic
   - Multithread on User Accounts to avoid freeze when updating data
-  - Fixed Minor bugs
-  
+  - Fixed Minor bugs (See GitHub commits since 2019-01-08)  
 
 ### Build 4.0.2 - 2019-01-08
 - Improvement speed (high performance): checking valid signature only once if operation is on mempool and was verified previously

+ 3 - 3
src/core/UConst.pas

@@ -173,15 +173,15 @@ Const
   CT_OpSubtype_Data_Signer                = 103;
   CT_OpSubtype_Data_Receiver              = 104;
 
-  CT_ClientAppVersion : String = {$IFDEF PRODUCTION}'4.0.3d'{$ELSE}{$IFDEF TESTNET}'TESTNET 4.0.3d'{$ELSE}{$ENDIF}{$ENDIF};
+  CT_ClientAppVersion : String = {$IFDEF PRODUCTION}'4.0.3'{$ELSE}{$IFDEF TESTNET}'TESTNET 4.0.3'{$ELSE}{$ENDIF}{$ENDIF};
 
   CT_Discover_IPs = {$IFDEF PRODUCTION}'bpascal1.dynamic-dns.net;bpascal2.dynamic-dns.net;pascalcoin1.dynamic-dns.net;pascalcoin2.dynamic-dns.net;pascalcoin1.dns1.us;pascalcoin2.dns1.us;pascalcoin1.dns2.us;pascalcoin2.dns2.us'
                     {$ELSE}'pascaltestnet1.dynamic-dns.net;pascaltestnet2.dynamic-dns.net;pascaltestnet1.dns1.us;pascaltestnet2.dns1.us'{$ENDIF};
 
   CT_TRUE_FALSE : Array[Boolean] Of String = ('FALSE','TRUE');
 
-  CT_MAX_0_fee_operations_per_block_by_miner = {$IFDEF PRODUCTION}2000{$ELSE}{$IFDEF TESTNET}2000{$ELSE}{$ENDIF}{$ENDIF};
-  CT_MAX_Operations_per_block_by_miner =  {$IFDEF PRODUCTION}20000{$ELSE}{$IFDEF TESTNET}50000{$ELSE}{$ENDIF}{$ENDIF};
+  CT_MAX_0_fee_operations_per_block_by_miner = {$IFDEF PRODUCTION}30000{$ELSE}{$IFDEF TESTNET}3000{$ELSE}{$ENDIF}{$ENDIF};
+  CT_MAX_Operations_per_block_by_miner =  {$IFDEF PRODUCTION}500000{$ELSE}{$IFDEF TESTNET}50000{$ELSE}{$ENDIF}{$ENDIF};
 
   CT_MAX_MultiOperation_Senders = 100;
   CT_MAX_MultiOperation_Receivers = 1000;

+ 1 - 1
src/pascalcoin_miner.lpi

@@ -50,7 +50,7 @@
     </Target>
     <SearchPaths>
       <IncludeFiles Value="$(ProjOutDir)"/>
-      <OtherUnitFiles Value="core;libraries\pasopencl;libraries\synapse;libraries\sphere10;libraries\hashlib4pascal;libraries\generics.collections;libraries\pascalcoin"/>
+      <OtherUnitFiles Value="core;libraries\pasopencl;libraries\synapse;libraries\sphere10;libraries\hashlib4pascal;libraries\generics.collections;libraries\pascalcoin;libraries\paszlib"/>
       <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
     </SearchPaths>
     <CodeGeneration>

+ 3 - 1
src/pascalcoin_wallet_classic.dpr

@@ -56,7 +56,9 @@ uses
   UGridUtils in 'gui-classic\UGridUtils.pas',
   UGUIUtils in 'gui-classic\UGUIUtils.pas',
   UPCDataTypes in 'core\UPCDataTypes.pas',
-  UPCOrderedLists in 'core\UPCOrderedLists.pas';
+  UPCOrderedLists in 'core\UPCOrderedLists.pas',
+  UPCOperationsSignatureValidator in 'core\UPCOperationsSignatureValidator.pas',
+  UPCTNetDataExtraMessages in 'core\UPCTNetDataExtraMessages.pas';
 
 {$R *.res}
 

+ 10 - 1
src/pascalcoin_wallet_classic.lpi

@@ -14,6 +14,7 @@
       <Title Value="PascalCoinWalletLazarus"/>
       <UseAppBundle Value="False"/>
       <ResourceType Value="res"/>
+      <Icon Value="0"/>
     </General>
     <i18n>
       <EnableI18N LFM="False"/>
@@ -44,7 +45,7 @@
       <Unit0>
         <Filename Value="pascalcoin_wallet_classic.dpr"/>
         <IsPartOfProject Value="True"/>
-        <UnitName Value="PascalCoin_wallet_classic"/>
+        <UnitName Value="PascalCoin_Wallet_Classic"/>
       </Unit0>
       <Unit1>
         <Filename Value="core\UBlockChain.pas"/>
@@ -215,7 +216,15 @@
         <SyntaxMode Value="Delphi"/>
       </SyntaxOptions>
     </Parsing>
+    <CodeGeneration>
+      <Optimizations>
+        <OptimizationLevel Value="3"/>
+      </Optimizations>
+    </CodeGeneration>
     <Linking>
+      <Debugging>
+        <GenerateDebugInfo Value="False"/>
+      </Debugging>
       <Options>
         <Win32>
           <GraphicApplication Value="True"/>