public NeoScryptMiner(NeoScryptStratum nscs, Device device, NeoScryptWorkerI neoScryptWorker) { this.nscs = nscs; this.neoScryptWorker = neoScryptWorker; this.device = device; neoScryptWorker.SetNonceCallback(this); }
public static void startTextNeoscrypt() { NeoScryptTextFPGADevice text_nsrpt = new NeoScryptTextFPGADevice(0, Settings.comPort); NeoScryptStratum nss = new NeoScryptStratum(Settings.poolAddr, Settings.poolPort, Settings.poolUser, Settings.poolPass, Settings.poolName); NeoScryptMiner nsm = new NeoScryptMiner(nss, text_nsrpt, text_nsrpt); nsm.workLoop(); }
public Job(NeoScryptStratum aStratum, string aID, string aPrevHash, string aCoinbase1, string aCoinbase2, string[] aMerkles, string aVersion, string aNBits, string aNTime) : base(aStratum) { mStratum = aStratum; mID = aID; mPrevHash = aPrevHash; mCoinbase1 = aCoinbase1; mCoinbase2 = aCoinbase2; mMerkles = aMerkles; mVersion = aVersion; mNBits = aNBits; mNTime = aNTime; }