Support Verge X17 variant
@@ -77,6 +77,9 @@ namespace MiningCore.Blockchain.Bitcoin
private static readonly BitcoinCoinProperties neoScryptCoin =
new BitcoinCoinProperties(Math.Pow(2, 16), sha256D, neoScryptProfile1, sha256DReverse, "Neoscrypt");
+ private static readonly BitcoinCoinProperties x17Coin =
+ new BitcoinCoinProperties(1, sha256D, x17, new DigestReverser(x17), "X17");
+
private static readonly Dictionary<CoinType, BitcoinCoinProperties> coinProperties = new Dictionary<CoinType, BitcoinCoinProperties>
{
// SHA256
@@ -164,6 +167,8 @@ namespace MiningCore.Blockchain.Bitcoin
return groestlMyriadCoin;
case "x17":
+ return x17Coin;
+
case "blake2s":
throw new NotSupportedException($"algorithm {algorithm} not yet supported");
