Browse Source

Manual Merge 4.1 - update README

PascalCoin 6 years ago
parent
commit
f81da69828
3 changed files with 10 additions and 1 deletions
  1. 8 0
      README.md
  2. 1 1
      src/core/UConst.pas
  3. 1 0
      src/core/URPC.pas

+ 8 - 0
README.md

@@ -90,6 +90,14 @@ TODO
 - TODO: RPC calls for PIP-0030
 - TODO: RPC calls for PIP-0016
 
+### Build 4.1.0.0 - 2019-07-24
+- Hardcoded RandomHash digest/hash values for quick speed safebox check on fresh installation
+  - GUI wallets will load "HardcodedRH_75800.randomhash" file (at exe folder) and preload a randomhash digest/hash values for quick first time synchronization
+- Fixed bug caused by CT_NetOp_GetSafeBox too quickly on old versions (4.0.2 and lower)
+  - Added a delay of at least 1 second per call when peer node is protocol version lower than version 9
+- Fixed bug #187 found by Isaac Cook (icook)
+- Improved memory management on NetProtection (auto clean memory)
+
 ### Build 4.0.3.1 - 2019-04-12
 - Fixed core bug #182 in RPC calls
 

+ 1 - 1
src/core/UConst.pas

@@ -189,7 +189,7 @@ Const
   CT_OpSubtype_Data_Signer                = 103;
   CT_OpSubtype_Data_Receiver              = 104;
 
-  CT_ClientAppVersion : String = {$IFDEF PRODUCTION}'4.0.3.2'{$ELSE}{$IFDEF TESTNET}'TESTNET 5.Beta.1'{$ELSE}{$ENDIF}{$ENDIF};
+  CT_ClientAppVersion : String = {$IFDEF PRODUCTION}'4.1'{$ELSE}{$IFDEF TESTNET}'TESTNET 5.Beta.1'{$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};

+ 1 - 0
src/core/URPC.pas

@@ -1519,6 +1519,7 @@ function TRPCProcess.ProcessMethod(const method: String; params: TPCJSONObject;
     Op : TPCOperation;
     i : Integer;
   Begin
+    Result := False;
     if Not TPascalCoinJSONComp.HexaStringToOperationsHashTree(HexaStringOperationsHashTree,OperationsHashTree,errors) then begin
       ErrorNum:=CT_RPC_ErrNum_InvalidData;
       ErrorDesc:= 'Error decoding param "rawoperations": '+errors;