Skip to content

Commit e2c3bf3

Browse files
committed
Rename Xelisv2-PEPEW to Xelisv2 Algorithms
1 parent 6f846bd commit e2c3bf3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+13612
-13612
lines changed

build-windows.bat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
@echo off
2-
cd src\Miningcore
3-
dotnet publish -c Release --framework net6.0 -o ../../build
1+
@echo off
2+
cd src\Miningcore
3+
dotnet publish -c Release --framework net6.0 -o ../../build
Lines changed: 80 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,80 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
3-
<PropertyGroup>
4-
<IsWindows Condition="'$(OS)' == 'Windows_NT'">true</IsWindows>
5-
</PropertyGroup>
6-
7-
<PropertyGroup>
8-
<IsOSX Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' == 'true'">true</IsOSX>
9-
<IsLinux Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true'">true</IsLinux>
10-
</PropertyGroup>
11-
12-
<PropertyGroup>
13-
<TargetFramework>net6.0</TargetFramework>
14-
<IsPackable>false</IsPackable>
15-
<Platforms>AnyCPU</Platforms>
16-
<AssemblyName>Miningcore.Tests</AssemblyName>
17-
<RootNamespace>Miningcore.Tests</RootNamespace>
18-
</PropertyGroup>
19-
20-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
21-
<PlatformTarget>AnyCPU</PlatformTarget>
22-
</PropertyGroup>
23-
24-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
25-
<PlatformTarget>AnyCPU</PlatformTarget>
26-
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
27-
</PropertyGroup>
28-
29-
<ItemGroup>
30-
<Compile Remove="JsonRpc\**" />
31-
<EmbeddedResource Remove="JsonRpc\**" />
32-
<None Remove="JsonRpc\**" />
33-
</ItemGroup>
34-
35-
<ItemGroup>
36-
<PackageReference Include="BenchmarkDotNet" Version="0.13.4" />
37-
<PackageReference Include="BenchmarkDotNet.Annotations" Version="0.13.4" />
38-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.1" />
39-
<PackageReference Include="Microsoft.Reactive.Testing" Version="5.0.0" />
40-
<PackageReference Include="NLog" Version="5.3.4" />
41-
<PackageReference Include="Npgsql" Version="8.0.5" />
42-
<PackageReference Include="NSubstitute" Version="4.4.0" />
43-
<PackageReference Include="xunit" Version="2.4.2" />
44-
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
45-
<PrivateAssets>all</PrivateAssets>
46-
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
47-
</PackageReference>
48-
</ItemGroup>
49-
50-
<ItemGroup>
51-
<ProjectReference Include="..\Miningcore\Miningcore.csproj" />
52-
</ItemGroup>
53-
54-
<ItemGroup>
55-
<None Update="test.runsettings">
56-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
57-
</None>
58-
<None Update="xunit.runner.json">
59-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
60-
</None>
61-
</ItemGroup>
62-
63-
<!-- Copy library binaries from Miningcore build output on Windows -->
64-
<Target Name="CopyLibsWin" AfterTargets="AfterBuild" Condition="'$(IsWindows)' == 'true'">
65-
<ItemGroup>
66-
<Libs Include="$(ProjectDir)..\Miningcore\bin\$(Configuration)\net6.0\lib*.dll" />
67-
</ItemGroup>
68-
69-
<Copy SourceFiles="@(Libs)" DestinationFolder="$(OutDir)" />
70-
</Target>
71-
72-
<!-- Copy library binaries from Miningcore build output on Linux -->
73-
<Target Name="CopyLibsLinux" AfterTargets="AfterBuild" Condition="'$(IsLinux)' == 'true'">
74-
<ItemGroup>
75-
<Libs Include="$(ProjectDir)..\Miningcore\bin\$(Configuration)\net6.0\lib*.so" />
76-
</ItemGroup>
77-
78-
<Copy SourceFiles="@(Libs)" DestinationFolder="$(OutDir)" />
79-
</Target>
80-
</Project>
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<IsWindows Condition="'$(OS)' == 'Windows_NT'">true</IsWindows>
5+
</PropertyGroup>
6+
7+
<PropertyGroup>
8+
<IsOSX Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' == 'true'">true</IsOSX>
9+
<IsLinux Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true'">true</IsLinux>
10+
</PropertyGroup>
11+
12+
<PropertyGroup>
13+
<TargetFramework>net6.0</TargetFramework>
14+
<IsPackable>false</IsPackable>
15+
<Platforms>AnyCPU</Platforms>
16+
<AssemblyName>Miningcore.Tests</AssemblyName>
17+
<RootNamespace>Miningcore.Tests</RootNamespace>
18+
</PropertyGroup>
19+
20+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
21+
<PlatformTarget>AnyCPU</PlatformTarget>
22+
</PropertyGroup>
23+
24+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
25+
<PlatformTarget>AnyCPU</PlatformTarget>
26+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
27+
</PropertyGroup>
28+
29+
<ItemGroup>
30+
<Compile Remove="JsonRpc\**" />
31+
<EmbeddedResource Remove="JsonRpc\**" />
32+
<None Remove="JsonRpc\**" />
33+
</ItemGroup>
34+
35+
<ItemGroup>
36+
<PackageReference Include="BenchmarkDotNet" Version="0.13.4" />
37+
<PackageReference Include="BenchmarkDotNet.Annotations" Version="0.13.4" />
38+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.1" />
39+
<PackageReference Include="Microsoft.Reactive.Testing" Version="5.0.0" />
40+
<PackageReference Include="NLog" Version="5.3.4" />
41+
<PackageReference Include="Npgsql" Version="8.0.5" />
42+
<PackageReference Include="NSubstitute" Version="4.4.0" />
43+
<PackageReference Include="xunit" Version="2.4.2" />
44+
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
45+
<PrivateAssets>all</PrivateAssets>
46+
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
47+
</PackageReference>
48+
</ItemGroup>
49+
50+
<ItemGroup>
51+
<ProjectReference Include="..\Miningcore\Miningcore.csproj" />
52+
</ItemGroup>
53+
54+
<ItemGroup>
55+
<None Update="test.runsettings">
56+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
57+
</None>
58+
<None Update="xunit.runner.json">
59+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
60+
</None>
61+
</ItemGroup>
62+
63+
<!-- Copy library binaries from Miningcore build output on Windows -->
64+
<Target Name="CopyLibsWin" AfterTargets="AfterBuild" Condition="'$(IsWindows)' == 'true'">
65+
<ItemGroup>
66+
<Libs Include="$(ProjectDir)..\Miningcore\bin\$(Configuration)\net6.0\lib*.dll" />
67+
</ItemGroup>
68+
69+
<Copy SourceFiles="@(Libs)" DestinationFolder="$(OutDir)" />
70+
</Target>
71+
72+
<!-- Copy library binaries from Miningcore build output on Linux -->
73+
<Target Name="CopyLibsLinux" AfterTargets="AfterBuild" Condition="'$(IsLinux)' == 'true'">
74+
<ItemGroup>
75+
<Libs Include="$(ProjectDir)..\Miningcore\bin\$(Configuration)\net6.0\lib*.so" />
76+
</ItemGroup>
77+
78+
<Copy SourceFiles="@(Libs)" DestinationFolder="$(OutDir)" />
79+
</Target>
80+
</Project>

src/Miningcore.sln

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
1-
2-
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.28729.10
5-
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Miningcore", "Miningcore\Miningcore.csproj", "{A427248A-B5E1-4808-9883-BC2AD68EE997}"
7-
EndProject
8-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Miningcore.Tests", "Miningcore.Tests\Miningcore.Tests.csproj", "{DCDE9CE6-84B8-42FE-AA55-2A3909A5E757}"
9-
EndProject
10-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{71672AAD-51F8-49EC-9EFD-E504D65A765A}"
11-
ProjectSection(SolutionItems) = preProject
12-
.editorconfig = .editorconfig
13-
EndProjectSection
14-
EndProject
15-
Global
16-
GlobalSection(SolutionConfigurationPlatforms) = preSolution
17-
Debug|Any CPU = Debug|Any CPU
18-
Release|Any CPU = Release|Any CPU
19-
EndGlobalSection
20-
GlobalSection(ProjectConfigurationPlatforms) = postSolution
21-
{A427248A-B5E1-4808-9883-BC2AD68EE997}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
22-
{A427248A-B5E1-4808-9883-BC2AD68EE997}.Debug|Any CPU.Build.0 = Debug|Any CPU
23-
{A427248A-B5E1-4808-9883-BC2AD68EE997}.Release|Any CPU.ActiveCfg = Release|Any CPU
24-
{A427248A-B5E1-4808-9883-BC2AD68EE997}.Release|Any CPU.Build.0 = Release|Any CPU
25-
{DCDE9CE6-84B8-42FE-AA55-2A3909A5E757}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
26-
{DCDE9CE6-84B8-42FE-AA55-2A3909A5E757}.Debug|Any CPU.Build.0 = Debug|Any CPU
27-
{DCDE9CE6-84B8-42FE-AA55-2A3909A5E757}.Release|Any CPU.ActiveCfg = Release|Any CPU
28-
{DCDE9CE6-84B8-42FE-AA55-2A3909A5E757}.Release|Any CPU.Build.0 = Release|Any CPU
29-
EndGlobalSection
30-
GlobalSection(SolutionProperties) = preSolution
31-
HideSolutionNode = FALSE
32-
EndGlobalSection
33-
GlobalSection(ExtensibilityGlobals) = postSolution
34-
SolutionGuid = {A0580AF2-6B0C-403F-9579-32D03A89CAC8}
35-
EndGlobalSection
36-
EndGlobal
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.28729.10
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Miningcore", "Miningcore\Miningcore.csproj", "{A427248A-B5E1-4808-9883-BC2AD68EE997}"
7+
EndProject
8+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Miningcore.Tests", "Miningcore.Tests\Miningcore.Tests.csproj", "{DCDE9CE6-84B8-42FE-AA55-2A3909A5E757}"
9+
EndProject
10+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{71672AAD-51F8-49EC-9EFD-E504D65A765A}"
11+
ProjectSection(SolutionItems) = preProject
12+
.editorconfig = .editorconfig
13+
EndProjectSection
14+
EndProject
15+
Global
16+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
17+
Debug|Any CPU = Debug|Any CPU
18+
Release|Any CPU = Release|Any CPU
19+
EndGlobalSection
20+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
21+
{A427248A-B5E1-4808-9883-BC2AD68EE997}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
22+
{A427248A-B5E1-4808-9883-BC2AD68EE997}.Debug|Any CPU.Build.0 = Debug|Any CPU
23+
{A427248A-B5E1-4808-9883-BC2AD68EE997}.Release|Any CPU.ActiveCfg = Release|Any CPU
24+
{A427248A-B5E1-4808-9883-BC2AD68EE997}.Release|Any CPU.Build.0 = Release|Any CPU
25+
{DCDE9CE6-84B8-42FE-AA55-2A3909A5E757}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
26+
{DCDE9CE6-84B8-42FE-AA55-2A3909A5E757}.Debug|Any CPU.Build.0 = Debug|Any CPU
27+
{DCDE9CE6-84B8-42FE-AA55-2A3909A5E757}.Release|Any CPU.ActiveCfg = Release|Any CPU
28+
{DCDE9CE6-84B8-42FE-AA55-2A3909A5E757}.Release|Any CPU.Build.0 = Release|Any CPU
29+
EndGlobalSection
30+
GlobalSection(SolutionProperties) = preSolution
31+
HideSolutionNode = FALSE
32+
EndGlobalSection
33+
GlobalSection(ExtensibilityGlobals) = postSolution
34+
SolutionGuid = {A0580AF2-6B0C-403F-9579-32D03A89CAC8}
35+
EndGlobalSection
36+
EndGlobal

src/Miningcore/Crypto/Hashing/Algorithms/XelisV2_PEPEW.cs renamed to src/Miningcore/Crypto/Hashing/Algorithms/XelisV2.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
namespace Miningcore.Crypto.Hashing.Algorithms;
55

66
[Identifier("xelisv2-pepew")]
7-
public unsafe class XelisV2_PEPEW : IHashAlgorithm
7+
public unsafe class XelisV2 : IHashAlgorithm
88
{
99
public void Digest(ReadOnlySpan<byte> data, Span<byte> result, params object[] extra)
1010
{
Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
1-
2-
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.31229.75
5-
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libmultihash", "libbeamhash.vcxproj", "{2DE74E14-BF6D-4046-951B-8EBC8A1BA009}"
7-
EndProject
8-
Global
9-
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10-
Debug|x64 = Debug|x64
11-
Debug|x86 = Debug|x86
12-
Release|x64 = Release|x64
13-
Release|x86 = Release|x86
14-
EndGlobalSection
15-
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16-
{2DE74E14-BF6D-4046-951B-8EBC8A1BA009}.Debug|x64.ActiveCfg = Debug|x64
17-
{2DE74E14-BF6D-4046-951B-8EBC8A1BA009}.Debug|x64.Build.0 = Debug|x64
18-
{2DE74E14-BF6D-4046-951B-8EBC8A1BA009}.Debug|x86.ActiveCfg = Debug|Win32
19-
{2DE74E14-BF6D-4046-951B-8EBC8A1BA009}.Debug|x86.Build.0 = Debug|Win32
20-
{2DE74E14-BF6D-4046-951B-8EBC8A1BA009}.Release|x64.ActiveCfg = Release|x64
21-
{2DE74E14-BF6D-4046-951B-8EBC8A1BA009}.Release|x64.Build.0 = Release|x64
22-
{2DE74E14-BF6D-4046-951B-8EBC8A1BA009}.Release|x86.ActiveCfg = Release|Win32
23-
{2DE74E14-BF6D-4046-951B-8EBC8A1BA009}.Release|x86.Build.0 = Release|Win32
24-
EndGlobalSection
25-
GlobalSection(SolutionProperties) = preSolution
26-
HideSolutionNode = FALSE
27-
EndGlobalSection
28-
GlobalSection(ExtensibilityGlobals) = postSolution
29-
SolutionGuid = {DDE0FE54-030A-4DFD-98A1-952779FB461F}
30-
EndGlobalSection
31-
EndGlobal
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.31229.75
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libmultihash", "libbeamhash.vcxproj", "{2DE74E14-BF6D-4046-951B-8EBC8A1BA009}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|x64 = Debug|x64
11+
Debug|x86 = Debug|x86
12+
Release|x64 = Release|x64
13+
Release|x86 = Release|x86
14+
EndGlobalSection
15+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16+
{2DE74E14-BF6D-4046-951B-8EBC8A1BA009}.Debug|x64.ActiveCfg = Debug|x64
17+
{2DE74E14-BF6D-4046-951B-8EBC8A1BA009}.Debug|x64.Build.0 = Debug|x64
18+
{2DE74E14-BF6D-4046-951B-8EBC8A1BA009}.Debug|x86.ActiveCfg = Debug|Win32
19+
{2DE74E14-BF6D-4046-951B-8EBC8A1BA009}.Debug|x86.Build.0 = Debug|Win32
20+
{2DE74E14-BF6D-4046-951B-8EBC8A1BA009}.Release|x64.ActiveCfg = Release|x64
21+
{2DE74E14-BF6D-4046-951B-8EBC8A1BA009}.Release|x64.Build.0 = Release|x64
22+
{2DE74E14-BF6D-4046-951B-8EBC8A1BA009}.Release|x86.ActiveCfg = Release|Win32
23+
{2DE74E14-BF6D-4046-951B-8EBC8A1BA009}.Release|x86.Build.0 = Release|Win32
24+
EndGlobalSection
25+
GlobalSection(SolutionProperties) = preSolution
26+
HideSolutionNode = FALSE
27+
EndGlobalSection
28+
GlobalSection(ExtensibilityGlobals) = postSolution
29+
SolutionGuid = {DDE0FE54-030A-4DFD-98A1-952779FB461F}
30+
EndGlobalSection
31+
EndGlobal

0 commit comments

Comments
 (0)