From 2405395151c900fd5ae8d8b4ebc642a705886ab0 Mon Sep 17 00:00:00 2001 From: Lemois 1337 Date: Sat, 31 Aug 2024 20:37:48 +0200 Subject: [PATCH 1/2] HF DAAscore to switch to khashv2 (12 hours after testnet launch): We've experimented with 3 different hashing algorithm in testnet, named khashv1, khashv1.5 and khashv2. khashv1 = KarlsenHashv1 khashv1.5 = FishHash khashv2 = FishHash Plus (KarlsenHashv2) However at the end we've decided to use FishHash Plus as it was result of security review of the FishHash algorithm. The PoW code for FishHash is still there, but the expected blocks are either version 1 or version 2. Therefore we decided to restart testnet-1 with shorter HF DAA score and don't need to maintain code for special case in the network. --- domain/dagconfig/params.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domain/dagconfig/params.go b/domain/dagconfig/params.go index 41c58ac64b..6ba7cd3347 100644 --- a/domain/dagconfig/params.go +++ b/domain/dagconfig/params.go @@ -343,7 +343,7 @@ var TestnetParams = Params{ MaxBlockLevel: 250, MergeDepth: defaultMergeDepth, - HFDAAScore: 6000000, // TODO: define the fork date DAAscore + HFDAAScore: 43200, // HF DAAscore to switch to khashv2 (12 hours after testnet launch) } // SimnetParams defines the network parameters for the simulation test Karlsen From 0e9627908a83a06f793867febe8f2412bcc6a877 Mon Sep 17 00:00:00 2001 From: Lemois 1337 Date: Sun, 1 Sep 2024 00:18:49 +0200 Subject: [PATCH 2/2] Version bump --- version/version.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version/version.go b/version/version.go index a15ad996a5..a63fe3c4d0 100644 --- a/version/version.go +++ b/version/version.go @@ -11,7 +11,7 @@ const validCharacters = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrs const ( appMajor uint = 2 appMinor uint = 1 - appPatch uint = 0 + appPatch uint = 1 ) // appBuild is defined as a variable so it can be overridden during the build