From 38c493a10ac3598740af847c07d919da3f5e41c5 Mon Sep 17 00:00:00 2001 From: CryptoManiac Date: Sat, 29 Aug 2015 18:49:40 +0300 Subject: [PATCH 1/1] Use nvc-cce-2.coinomi.net server for testing. --- StratumTest/Program.cs | 19 +++++++++++-------- 1 files changed, 11 insertions(+), 8 deletions(-) diff --git a/StratumTest/Program.cs b/StratumTest/Program.cs index af105f0..cdada63 100644 --- a/StratumTest/Program.cs +++ b/StratumTest/Program.cs @@ -6,18 +6,21 @@ namespace StratumTest using Stratum; using Newtonsoft.Json.Linq; - class StratumTest : Stratum - { - public StratumTest(string ipAddress, int port) : base(ipAddress, port) { } + class StratumWrapper : Stratum + { + public StratumWrapper(string ipAddress, int port) : base(ipAddress, port) { } - public override void NotificationHandler(string NotificationMethod, JArray NotificationData) - { - Console.WriteLine("\nNotification: Method={0}, data={1}", NotificationMethod, NotificationData.ToString()); - } + public override void NotificationHandler(string NotificationMethod, JArray NotificationData) + { + Console.WriteLine("\nNotification: Method={0}, data={1}", NotificationMethod, NotificationData.ToString()); + } + } + class StratumTest + { static void Main(string[] args) { - StratumTest s = new StratumTest("192.168.1.100", 40001); + StratumWrapper s = new StratumWrapper("176.9.65.41", 5034); while (true) { -- 1.7.1