Beispiel #1
0
 public Job(JobTemplate _job)
 {
     difficulty = _job.difficulty;
     jobID = _job.job_id;
     pre_pow = _job.pre_pow;
     height = _job.height;
     timestamp = DateTime.Now;
     scale = _job.GetScale();
 }
Beispiel #2
0
 public Job(JobTemplate _job)
 {
     difficulty = _job.difficulty;
     jobID      = _job.job_id;
     pre_pow    = _job.pre_pow;
     height     = _job.height;
     timestamp  = DateTime.Now;
     scale      = _job.GetScale();
     //poolNonce = _job.id;
     type = CuckooType.SWAP;
 }