/// <summary> /// Create instance, but not connect yet. /// </summary> public StratumConnet(string _ip, int _port, byte _id, string _login, string _pwd, bool _ssl = false, string algo = "grin29") { this.ip = _ip; this.port = _port; id = _id; login = _login; password = _pwd; UseSsl = _ssl; type = CuckooType.SWAP; IsConnected = false; }
internal void SetProof(CuckooType type) { graph.PROOFSIZE = 32u; }
internal void SetProof(CuckooType type) { graph.PROOFSIZE = (type == CuckooType.GRIN29) ? 42u : 32u; }