From 839cb01d69ac36cb07efacbceee95e02e72fe885 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 8 Dec 2022 14:49:04 +0000 Subject: [PATCH 1/2] Bump Newtonsoft.Json from 13.0.1 to 13.0.2 in /src/Miningcore Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 13.0.1 to 13.0.2. - [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases) - [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/13.0.1...13.0.2) --- updated-dependencies: - dependency-name: Newtonsoft.Json dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- src/Miningcore/Miningcore.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Miningcore/Miningcore.csproj b/src/Miningcore/Miningcore.csproj index 4e1d428a22..500d1b06c6 100644 --- a/src/Miningcore/Miningcore.csproj +++ b/src/Miningcore/Miningcore.csproj @@ -73,7 +73,7 @@ - + From 63b37e24aecb2cf161b3da840e5e0fe4d7d1f5a2 Mon Sep 17 00:00:00 2001 From: LoulouCrypto <68774649+LoulouCrypto@users.noreply.github.com> Date: Sat, 6 May 2023 13:29:57 +0200 Subject: [PATCH 2/2] Update Multihash.cs Add equihash 125-5 --- src/Miningcore/Native/Multihash.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Miningcore/Native/Multihash.cs b/src/Miningcore/Native/Multihash.cs index 8ebb2294d4..118b358288 100644 --- a/src/Miningcore/Native/Multihash.cs +++ b/src/Miningcore/Native/Multihash.cs @@ -141,6 +141,9 @@ public static unsafe class Multihash [DllImport("libmultihash", EntryPoint = "equihash_verify_144_5_export", CallingConvention = CallingConvention.Cdecl)] public static extern bool equihash_verify_144_5(byte* header, int headerLength, byte* solution, int solutionLength, string personalization); + + [DllImport("libmultihash", EntryPoint = "equihash_verify_125_5_export", CallingConvention = CallingConvention.Cdecl)] + public static extern bool equihash_verify_125_5(byte* header, int headerLength, byte* solution, int solutionLength, string personalization); [DllImport("libmultihash", EntryPoint = "equihash_verify_96_5_export", CallingConvention = CallingConvention.Cdecl)] public static extern bool equihash_verify_96_5(byte* header, int headerLength, byte* solution, int solutionLength, string personalization);