public PascalMiner(PascalStratum ps, Device device, PascalWorkerI pascalWorker) { this.ps = ps; this.device = device; this.pascalWorker = pascalWorker; pascalWorker.SetNonceCallback(this); }
public static void startPascal() { PascalBinaryFPGADevice pd = new PascalBinaryFPGADevice(0, Settings.comPort); PascalStratum ps = new PascalStratum(Settings.poolAddr, Settings.poolPort, Settings.poolUser, Settings.poolPass, Settings.poolName); PascalMiner pm = new PascalMiner(ps, pd, pd); pm.workLoop(); }
public Job(PascalStratum aStratum, string aID, string aCoinbase1, string aCoinbase2, string aNTime) : base(aStratum) { mStratum = aStratum; mID = aID; mCoinbase1 = aCoinbase1; mCoinbase2 = aCoinbase2; mNTime = aNTime; }