コード例 #1
0
 public Job(Stratum aStratum, string aID, string aBlob, string aTarget)
     : base(aStratum)
 {
     mID     = aID;
     mBlob   = aBlob;
     mTarget = aTarget;
 }
コード例 #2
0
 public Job(Stratum aStratum, string aID, string aSeedhash, string aHeaderhash)
     : base(aStratum)
 {
     mID         = aID;
     mSeedhash   = aSeedhash;
     mHeaderhash = aHeaderhash;
 }
コード例 #3
0
 public Job(Stratum aStratum)
 {
     mStratum = aStratum;
     lock (thisLock)
     {
         nextLocalExtranonce = 0;
         for (int i = 0; i < mStratum.LocalExtranonceSize; ++i)
         {
             nextLocalExtranonce |= (UInt64)r.Next(32, 255) << (i * 8); // TODO
         }
     }
 }
コード例 #4
0
 public Job(Stratum aStratum, string aID, string aSeedhash, string aHeaderhash)
     : base(aStratum, aID, aSeedhash, aHeaderhash)
 {
 }