Browse Source

Testnet changes

PascalCoin 7 years ago
parent
commit
e261dc33e0
3 changed files with 3 additions and 3 deletions
  1. 1 1
      README.md
  2. 1 1
      src/core/UConst.pas
  3. 1 1
      src/pascalcoin_daemon.lpi

+ 1 - 1
README.md

@@ -38,7 +38,7 @@ Also, consider a donation at PascalCoin development account: "0-10"
 - TODO: PIP - 0010
 - TODO: PIP - 0010
 - TODO: Add new network operations
 - TODO: Add new network operations
 - New target calc on protocol V3 in order to reduce the sinusoidal effect
 - New target calc on protocol V3 in order to reduce the sinusoidal effect
-  - On V2, the increase was +-100% every 50 blocks, on V3 will be +-100% every 100 blocks (slower increase/decrease)
+  - On V3 will look last 5 blocks instead of last 10 in order to decide if continue increasing/decreasing target
 - New Safebox Snapshoting
 - New Safebox Snapshoting
   - This allow quickly rollback/commit directly to Safebox instead of create a separate Safebox on memory (read from disk... use more ram...)
   - This allow quickly rollback/commit directly to Safebox instead of create a separate Safebox on memory (read from disk... use more ram...)
   - Is usefull when detecting posible orphan blocks in order to check which chain is the highest chain without duplicating a safebox to compare
   - Is usefull when detecting posible orphan blocks in order to check which chain is the highest chain without duplicating a safebox to compare

+ 1 - 1
src/core/UConst.pas

@@ -66,7 +66,7 @@ Const
 
 
   CT_CalcNewTargetBlocksAverage: Cardinal = 100;
   CT_CalcNewTargetBlocksAverage: Cardinal = 100;
   CT_CalcNewTargetLimitChange_SPLIT_v2 = 10;
   CT_CalcNewTargetLimitChange_SPLIT_v2 = 10;
-  CT_CalcNewTargetLimitChange_SPLIT_v3 = 5;
+  CT_CalcNewTargetLimitChange_SPLIT_v3 = 20;
 
 
   CT_MaxAccount : Cardinal = $FFFFFFFF;
   CT_MaxAccount : Cardinal = $FFFFFFFF;
   CT_MaxBlock : Cardinal = $FFFFFFFF;
   CT_MaxBlock : Cardinal = $FFFFFFFF;

+ 1 - 1
src/pascalcoin_daemon.lpi

@@ -45,7 +45,7 @@
     </Target>
     </Target>
     <SearchPaths>
     <SearchPaths>
       <IncludeFiles Value="$(ProjOutDir)"/>
       <IncludeFiles Value="$(ProjOutDir)"/>
-      <OtherUnitFiles Value="core;libraries\synapse;common"/>
+      <OtherUnitFiles Value="core;libraries\synapse;libraries\pascalcoin"/>
       <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
       <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
     </SearchPaths>
     </SearchPaths>
     <CodeGeneration>
     <CodeGeneration>