public Job(Stratum aStratum, string aID, string aSeedhash, string aHeaderhash) : base(aStratum) { mID = aID; mSeedhash = aSeedhash; mHeaderhash = aHeaderhash; }
public Job(Stratum aStratum, string aID, string aBlob, string aTarget) : base(aStratum) { mID = aID; mBlob = aBlob; mTarget = aTarget; }
public Job(Stratum aStratum) { mStratum = aStratum; try { mMutex.WaitOne(5000); } catch (Exception) { } nextLocalExtranonce = 0; for (int i = 0; i < mStratum.LocalExtranonceSize; ++i) { nextLocalExtranonce |= (UInt64)r.Next(32, 255) << (i * 8); // TODO } try { mMutex.ReleaseMutex(); } catch (Exception) { } }
public override void SetPrimaryStratum(Stratum stratum) { Stratum = (CryptoNightStratum)stratum; }
public Job(Stratum aStratum, string aID, string aSeedhash, string aHeaderhash) : base(aStratum, aID, aSeedhash, aHeaderhash) { }
public virtual void SetSecondaryStratum(Stratum stratum) { throw new System.InvalidOperationException(); }
public override void SetSecondaryStratum(Stratum stratum) { SecondaryStratum = (PascalStratum)stratum; }
public override void SetPrimaryStratum(Stratum stratum) { PrimaryStratum = (EthashStratum)stratum; }
public override void SetPrimaryStratum(Stratum stratum) { Stratum = (PascalStratum)stratum; }
public override void SetPrimaryStratum(Stratum stratum) { Stratum = (NeoScryptStratum)stratum; }