From be238f3d64a30052f80d1f90d097374f97dae16e Mon Sep 17 00:00:00 2001 From: Felandil Date: Tue, 28 Aug 2018 16:28:43 +0200 Subject: [PATCH] rename pidiver service to avoid confusion --- .../Tangle.Net.Standard/Tangle.Net.Standard.csproj | 8 ++++---- Tangle.Net/Tangle.Net.Console/Program.cs | 2 +- .../Service/{PiDiverService.cs => PoWSrvService.cs} | 10 +++++----- Tangle.Net/Tangle.Net/Tangle.Net.csproj | 2 +- Tangle.Net/Tangle.Net/Tangle.Net.nuspec | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) rename Tangle.Net/Tangle.Net/ProofOfWork/Service/{PiDiverService.cs => PoWSrvService.cs} (89%) diff --git a/Tangle.Net.Standard/Tangle.Net.Standard/Tangle.Net.Standard.csproj b/Tangle.Net.Standard/Tangle.Net.Standard/Tangle.Net.Standard.csproj index b5b5beb..dc5c1e0 100644 --- a/Tangle.Net.Standard/Tangle.Net.Standard/Tangle.Net.Standard.csproj +++ b/Tangle.Net.Standard/Tangle.Net.Standard/Tangle.Net.Standard.csproj @@ -3,7 +3,7 @@ netstandard2.0 true - 1.0.8.1 + 1.0.8.2 .NET Standard 2.0 IOTA Library C# Port Felandil Felandil @@ -12,8 +12,8 @@ https://github.com/Felandil/tangle-.net https://github.com/Felandil/tangle-.net/blob/master/LICENSE true - 1.0.8.1 - 1.0.8.1 + 1.0.8.2 + 1.0.8.2 @@ -57,8 +57,8 @@ - + diff --git a/Tangle.Net/Tangle.Net.Console/Program.cs b/Tangle.Net/Tangle.Net.Console/Program.cs index e61f022..9495a8b 100644 --- a/Tangle.Net/Tangle.Net.Console/Program.cs +++ b/Tangle.Net/Tangle.Net.Console/Program.cs @@ -32,7 +32,7 @@ internal static class Program /// 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 diff --git a/Tangle.Net/Tangle.Net/ProofOfWork/Service/PiDiverService.cs b/Tangle.Net/Tangle.Net/ProofOfWork/Service/PoWSrvService.cs similarity index 89% rename from Tangle.Net/Tangle.Net/ProofOfWork/Service/PiDiverService.cs rename to Tangle.Net/Tangle.Net/ProofOfWork/Service/PoWSrvService.cs index aad081a..2db7a8f 100644 --- a/Tangle.Net/Tangle.Net/ProofOfWork/Service/PiDiverService.cs +++ b/Tangle.Net/Tangle.Net/ProofOfWork/Service/PoWSrvService.cs @@ -11,18 +11,18 @@ using Tangle.Net.Repository.Responses; /// - /// Implementation of the PiDiver Api provided by https://powsrv.io/ + /// Implementation of the PoW Api provided by https://powsrv.io/ /// - 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; } /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// /// The client. @@ -30,7 +30,7 @@ public PiDiverService(string apiKey = null) /// /// The api Key. /// - public PiDiverService(RestClient client, string apiKey = null) + public PoWSrvService(RestClient client, string apiKey = null) { this.Client = client; this.ApiKey = apiKey; diff --git a/Tangle.Net/Tangle.Net/Tangle.Net.csproj b/Tangle.Net/Tangle.Net/Tangle.Net.csproj index f3bec06..8298ed5 100644 --- a/Tangle.Net/Tangle.Net/Tangle.Net.csproj +++ b/Tangle.Net/Tangle.Net/Tangle.Net.csproj @@ -80,7 +80,7 @@ - + diff --git a/Tangle.Net/Tangle.Net/Tangle.Net.nuspec b/Tangle.Net/Tangle.Net/Tangle.Net.nuspec index eef09c1..967275b 100644 --- a/Tangle.Net/Tangle.Net/Tangle.Net.nuspec +++ b/Tangle.Net/Tangle.Net/Tangle.Net.nuspec @@ -2,7 +2,7 @@ Tangle.Net - 1.0.8.1 + 1.0.8.2 .NET 4.6.1 IOTA Library C# Port Felandil Felandil