public Job Next() { Job next = new Job() { type = this.type, poolNonce = this.poolNonce, scale = this.scale, origin = this.origin, difficulty = this.difficulty, height = this.height, jobID = this.jobID, pre_pow = this.pre_pow, timestamp = this.timestamp, graphAttempts = this.graphAttempts }; next.MutateJob(); return(next); }
public Job NextSequential(ref long nonce) { Job next = new Job() { scale = this.scale, origin = this.origin, difficulty = this.difficulty, height = this.height, jobID = this.jobID, pre_pow = this.pre_pow, timestamp = this.timestamp, graphAttempts = this.graphAttempts }; next.MutateJob(ref nonce); return(next); }