Browse Source

Fix missing Donation file

pull/140/head
Lionel Ahadji 1 year ago
parent
commit
cd437cf7a9
3 changed files with 64 additions and 8 deletions
  1. +22
    -5
      server/Server.sln
  2. +36
    -0
      server/Server/Donation.cs
  3. +6
    -3
      server/Server/Server.csproj

+ 22
- 5
server/Server.sln View File

@ -1,21 +1,38 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29905.134
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Server", "Server\Server.csproj", "{DC564972-9DEF-4897-A8F5-C4C21CEBDE2F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x86 = Debug|x86
Release|x86 = Release|x86
Release_Server|Any CPU = Release_Server|Any CPU
Release_Server|x86 = Release_Server|x86
Release|Any CPU = Release|Any CPU
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{DC564972-9DEF-4897-A8F5-C4C21CEBDE2F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DC564972-9DEF-4897-A8F5-C4C21CEBDE2F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DC564972-9DEF-4897-A8F5-C4C21CEBDE2F}.Debug|x86.ActiveCfg = Debug|x86
{DC564972-9DEF-4897-A8F5-C4C21CEBDE2F}.Debug|x86.Build.0 = Debug|x86
{DC564972-9DEF-4897-A8F5-C4C21CEBDE2F}.Release|x86.ActiveCfg = Release|x86
{DC564972-9DEF-4897-A8F5-C4C21CEBDE2F}.Release|x86.Build.0 = Release|x86
{DC564972-9DEF-4897-A8F5-C4C21CEBDE2F}.Release_Server|Any CPU.ActiveCfg = Release_Server|Any CPU
{DC564972-9DEF-4897-A8F5-C4C21CEBDE2F}.Release_Server|Any CPU.Build.0 = Release_Server|Any CPU
{DC564972-9DEF-4897-A8F5-C4C21CEBDE2F}.Release_Server|x86.ActiveCfg = Release_Server|x86
{DC564972-9DEF-4897-A8F5-C4C21CEBDE2F}.Release_Server|x86.Build.0 = Release_Server|x86
{DC564972-9DEF-4897-A8F5-C4C21CEBDE2F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DC564972-9DEF-4897-A8F5-C4C21CEBDE2F}.Release|Any CPU.Build.0 = Release|Any CPU
{DC564972-9DEF-4897-A8F5-C4C21CEBDE2F}.Release|x86.ActiveCfg = Release|x86
{DC564972-9DEF-4897-A8F5-C4C21CEBDE2F}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {00BFA811-BE84-469F-9FA6-AD25564A8BD7}
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = server\server.csproj

+ 36
- 0
server/Server/Donation.cs View File

@ -0,0 +1,36 @@
// The MIT License (MIT)
// Copyright (c) 2018-2019 - the webminerpool developer
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including without limitation the rights to
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
// the Software, and to permit persons to whom the Software is furnished to do so,
// subject to the following conditions:
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
// FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
// COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
// IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
namespace Server
{
public static class Donation
{
// by default a 3% dev fee is submitted to the following address.
// thank you for leaving this in.
public const double DonationLevel = 0.03;
public const string Address = "49kkH7rdoKyFsb1kYPKjCYiR2xy1XdnJNAY1e7XerwQFb57XQaRP7Npfk5xm1MezGn2yRBz6FWtGCFVKnzNTwSGJ3ZrLtHU";
public const string PoolUrl = "gulf.moneroocean.stream";
public const string PoolPwd = "x"; // if you want, you can change this to something funny
public const int PoolPort = 10064;
}
}

+ 6
- 3
server/Server/Server.csproj View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@ -37,16 +37,19 @@
<Externalconsole>true</Externalconsole>
<DebugType>none</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<OutputPath>..\..\..\..\..\..\..\bin\Debug\</OutputPath>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Net" />
</ItemGroup>
<ItemGroup>
<Compile Include="Donation.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="JSONParser.cs" />
<Compile Include="Extensions.cs" />
<Compile Include="Donation.cs" />
<Compile Include="PoolConnection.cs" />
<Compile Include="PoolList.cs" />
<Compile Include="DataStructures.cs" />
@ -94,4 +97,4 @@
</None>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
</Project>
</Project>

Loading…
Cancel
Save