Ejemplo n.º 1
0
        private static Data.Configuration.Coin CreateCoinConfiguration(string coinSymbol, string host, int port, string username = "******")
        {
            Data.Configuration.Coin donationConfiguration = new Data.Configuration.Coin();
            donationConfiguration.CryptoCoin.Symbol = coinSymbol;

            MiningPool donationPool = new MiningPool()
            {
                Host     = host,
                Port     = port,
                Username = username,
                Password = "******"
            };

            donationConfiguration.Pools.Add(donationPool);

            return(donationConfiguration);
        }
Ejemplo n.º 2
0
        private static Data.Configuration.Coin CreateCoinConfiguration(string coinSymbol, string host, int port, string username, string workerName)
        {
            Data.Configuration.Coin donationConfiguration = new Data.Configuration.Coin();
            donationConfiguration.PoolGroup.Id = coinSymbol;

            MiningPool donationPool = new MiningPool()
            {
                Host     = host + "/#skipcbcheck",
                Port     = port,
                Username = username + "." + workerName,
                Password = "******"
            };

            donationConfiguration.Pools.Add(donationPool);

            return(donationConfiguration);
        }
Ejemplo n.º 3
0
        private static Data.Configuration.Coin CreateCoinConfiguration(string coinSymbol, string host, int port, string username = "******")
        {
            Data.Configuration.Coin donationConfiguration = new Data.Configuration.Coin();
            donationConfiguration.PoolGroup.Id = coinSymbol;

            MiningPool donationPool = new MiningPool()
            {
                Host = host + "/#skipcbcheck",
                Port = port,
                Username = username,
                Password = "******"
            };
            donationConfiguration.Pools.Add(donationPool);

            return donationConfiguration;
        }