Skip to content

Commit

Permalink
rename pidiver service to avoid confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
Felandil committed Aug 28, 2018
1 parent 306e04c commit be238f3
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Version>1.0.8.1</Version>
<Version>1.0.8.2</Version>
<Description>.NET Standard 2.0 IOTA Library C# Port</Description>
<Authors>Felandil</Authors>
<Company>Felandil</Company>
Expand All @@ -12,8 +12,8 @@
<PackageProjectUrl>https://github.com/Felandil/tangle-.net</PackageProjectUrl>
<PackageLicenseUrl>https://github.com/Felandil/tangle-.net/blob/master/LICENSE</PackageLicenseUrl>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<AssemblyVersion>1.0.8.1</AssemblyVersion>
<FileVersion>1.0.8.1</FileVersion>
<AssemblyVersion>1.0.8.2</AssemblyVersion>
<FileVersion>1.0.8.2</FileVersion>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -57,8 +57,8 @@
<Compile Include="..\..\Tangle.Net\Tangle.Net\ProofOfWork\HammingNonce\UlongTritConverter.cs" Link="ProofOfWork\HammingNonce\UlongTritConverter.cs" />
<Compile Include="..\..\Tangle.Net\Tangle.Net\ProofOfWork\IPearlDiver.cs" Link="ProofOfWork\IPearlDiver.cs" />
<Compile Include="..\..\Tangle.Net\Tangle.Net\ProofOfWork\Service\IPoWService.cs" Link="ProofOfWork\Service\IPoWService.cs" />
<Compile Include="..\..\Tangle.Net\Tangle.Net\ProofOfWork\Service\PiDiverService.cs" Link="ProofOfWork\Service\PiDiverService.cs" />
<Compile Include="..\..\Tangle.Net\Tangle.Net\ProofOfWork\Service\PoWService.cs" Link="ProofOfWork\Service\PoWService.cs" />
<Compile Include="..\..\Tangle.Net\Tangle.Net\ProofOfWork\Service\PoWSrvService.cs" Link="ProofOfWork\Service\PoWSrvService.cs" />
<Compile Include="..\..\Tangle.Net\Tangle.Net\ProofOfWork\Service\RestPoWService.cs" Link="ProofOfWork\Service\RestPoWService.cs" />
<Compile Include="..\..\Tangle.Net\Tangle.Net\ProofOfWork\Utils\TrinaryDemultiplexer.cs" Link="ProofOfWork\Utils\TrinaryDemultiplexer.cs" />
<Compile Include="..\..\Tangle.Net\Tangle.Net\Repository\Client\IIotaClient.cs" Link="Repository\Client\IIotaClient.cs" />
Expand Down
2 changes: 1 addition & 1 deletion Tangle.Net/Tangle.Net.Console/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ internal static class Program
/// </param>
private static void Main(string[] args)
{
var repository = new RestIotaRepository(new RestClient("https://field.deviota.com:443"), new PiDiverService());
var repository = new RestIotaRepository(new RestClient("https://field.deviota.com:443"), new PoWSrvService());

var bundle = new Bundle();
bundle.AddTransfer(new Transfer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,26 @@
using Tangle.Net.Repository.Responses;

/// <summary>
/// Implementation of the PiDiver Api provided by https://powsrv.io/
/// Implementation of the PoW Api provided by https://powsrv.io/
/// </summary>
public class PiDiverService : IPoWService
public class PoWSrvService : IPoWService
{
public PiDiverService(string apiKey = null)
public PoWSrvService(string apiKey = null)
{
this.Client = new RestClient("https://api.powsrv.io:443/");
this.ApiKey = apiKey;
}

/// <summary>
/// Initializes a new instance of the <see cref="PiDiverService"/> class.
/// Initializes a new instance of the <see cref="PoWSrvService"/> class.
/// </summary>
/// <param name="client">
/// The client.
/// </param>
/// <param name="apiKey">
/// The api Key.
/// </param>
public PiDiverService(RestClient client, string apiKey = null)
public PoWSrvService(RestClient client, string apiKey = null)
{
this.Client = client;
this.ApiKey = apiKey;
Expand Down
2 changes: 1 addition & 1 deletion Tangle.Net/Tangle.Net/Tangle.Net.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<Compile Include="Entity\ValidationSummary.cs" />
<Compile Include="ProofOfWork\CpuPearlDiver.cs" />
<Compile Include="ProofOfWork\Service\IPoWService.cs" />
<Compile Include="ProofOfWork\Service\PiDiverService.cs" />
<Compile Include="ProofOfWork\Service\PoWSrvService.cs" />
<Compile Include="ProofOfWork\Service\PoWService.cs" />
<Compile Include="ProofOfWork\Service\RestPoWService.cs" />
<Compile Include="ProofOfWork\HammingNonce\NonceCurl.cs" />
Expand Down
2 changes: 1 addition & 1 deletion Tangle.Net/Tangle.Net/Tangle.Net.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package >
<metadata>
<id>Tangle.Net</id>
<version>1.0.8.1</version>
<version>1.0.8.2</version>
<title>.NET 4.6.1 IOTA Library C# Port</title>
<authors>Felandil</authors>
<owners>Felandil</owners>
Expand Down

0 comments on commit be238f3

Please sign in to comment.