public Coin(CustomCoin customCoin) { FullName = customCoin.FullName; TagName = customCoin.Tag; Algo = customCoin.Algo; Difficulty = customCoin.Difficulty; BlockReward = customCoin.BlockReward; BlockTime = customCoin.BlockTime; NetHashRate = customCoin.NetHashRate*1000000; Height = customCoin.Height; Exchange customExchange = new Exchange { ExchangeName = "Unknown (Custom coin)", BtcPrice = customCoin.CustomPrice, BtcVolume = 0, Weight = 1, IsFrozen = false }; Exchanges = new List<Exchange>{customExchange}; TotalExchange = customExchange; Source = "Custom coin"; Retrieved = DateTime.Now; IsMultiPool = false; HasImplementedMarketApi = false; }
public Coin(CustomCoin customCoin) { FullName = customCoin.FullName; TagName = customCoin.Tag; Algo = customCoin.Algo; Difficulty = customCoin.Difficulty; BlockReward = customCoin.BlockReward; BlockTime = customCoin.BlockTime; NetHashRate = customCoin.NetHashRate * 1000000; Height = customCoin.Height; Exchange customExchange = new Exchange { ExchangeName = "Unknown (Custom coin)", BtcPrice = customCoin.CustomPrice, BtcVolume = 0, Weight = 1, IsFrozen = false }; Exchanges = new List <Exchange> { customExchange }; TotalExchange = customExchange; Source = "Custom coin"; Retrieved = DateTime.Now; IsMultiPool = false; HasImplementedMarketApi = false; }