From 3bce7d5b73d1fa300dd0c7d784da659c0b4961ae Mon Sep 17 00:00:00 2001 From: Viktor Kynchev Date: Wed, 16 Aug 2017 00:59:02 +0300 Subject: [PATCH] My stuff... --- src/CoiniumServ/Mining/MetaConfig.cs | 2 +- src/CoiniumServ/Utils/ConsoleWindow.cs | 28 ++++++++++++++------------ 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/src/CoiniumServ/Mining/MetaConfig.cs b/src/CoiniumServ/Mining/MetaConfig.cs index dcf86eb65..858ccbfd4 100644 --- a/src/CoiniumServ/Mining/MetaConfig.cs +++ b/src/CoiniumServ/Mining/MetaConfig.cs @@ -44,7 +44,7 @@ public MetaConfig(dynamic config) { // load the config data. MOTD = string.IsNullOrEmpty(config.motd) - ? "Welcome to CoiniumServ pool, enjoy your stay! - http://www.coinumserv.com" + ? "Enjoy your stay!" : config.motd; TxMessage = string.IsNullOrEmpty(config.txMessage) ? "http://www.coiniumserv.com/" : config.txMessage; diff --git a/src/CoiniumServ/Utils/ConsoleWindow.cs b/src/CoiniumServ/Utils/ConsoleWindow.cs index 1f2a1c12e..da478bb1b 100644 --- a/src/CoiniumServ/Utils/ConsoleWindow.cs +++ b/src/CoiniumServ/Utils/ConsoleWindow.cs @@ -42,12 +42,14 @@ class ConsoleWindow public static void PrintBanner() { Console.ForegroundColor = ConsoleColor.Yellow; + Console.WriteLine(@"-------------------------------------------------------------------"); Console.WriteLine(@" .__ .__ "); Console.WriteLine(@" ____ ____ |__| ____ |__|__ __ _____ ______ ______________ __"); Console.WriteLine(@"_/ ___\/ _ \| |/ \| | | \/ \ / ___// __ \_ __ \ \/ /"); Console.WriteLine(@"\ \__( <_> ) | | \ | | / Y Y \\___ \\ ___/| | \/\ / "); Console.WriteLine(@" \___ >____/|__|___| /__|____/|__|_| /____ >\___ >__| \_/ "); Console.WriteLine(@" \/ \/ \/ \/ \/ "); + Console.WriteLine(@"-------------------------------------------------------------------"); Console.WriteLine(); } @@ -56,19 +58,19 @@ public static void PrintBanner() /// public static void PrintLicense() { - Console.ForegroundColor = ConsoleColor.Magenta; - Console.WriteLine("Copyright (C) 2013 - 2017, Coinium project - https://github.com/CoiniumServ/CoiniumServ"); - Console.WriteLine(); - Console.ForegroundColor = ConsoleColor.DarkYellow; - Console.WriteLine("CoiniumServ comes with ABSOLUTELY NO WARRANTY."); - Console.WriteLine(); - Console.ForegroundColor = ConsoleColor.Green; - Console.WriteLine("You can contribute the development of the project by donating;"); - Console.ForegroundColor = ConsoleColor.Yellow; - Console.WriteLine(" BTC : 18qqrtR4xHujLKf9oqiCsjmwmH5vGpch4D"); - Console.WriteLine(" LTC : LMXfRb3w8cMUBfqZb6RUkFTPaT6vbRozPa"); - Console.WriteLine(" DOGE: DM8FW8REMHj3P4xtcMWDn33ccjikCWJnQr"); - Console.WriteLine(" RDD : Rb9kcLs96VDHTmiXVjcWC2RBsfCJ73UQyr"); + //Console.ForegroundColor = ConsoleColor.Magenta; + //Console.WriteLine("Copyright (C) 2013 - 2017, Coinium project - https://github.com/CoiniumServ/CoiniumServ"); + //Console.WriteLine(); + //Console.ForegroundColor = ConsoleColor.DarkYellow; + //Console.WriteLine("CoiniumServ comes with ABSOLUTELY NO WARRANTY."); + //Console.WriteLine(); + //Console.ForegroundColor = ConsoleColor.Green; + //Console.WriteLine("You can contribute the development of the project by donating;"); + //Console.ForegroundColor = ConsoleColor.Yellow; + //Console.WriteLine(" BTC : 18qqrtR4xHujLKf9oqiCsjmwmH5vGpch4D"); + //Console.WriteLine(" LTC : LMXfRb3w8cMUBfqZb6RUkFTPaT6vbRozPa"); + //Console.WriteLine(" DOGE: DM8FW8REMHj3P4xtcMWDn33ccjikCWJnQr"); + //Console.WriteLine(" RDD : Rb9kcLs96VDHTmiXVjcWC2RBsfCJ73UQyr"); Console.WriteLine(); Console.ResetColor(); }