예제 #1
0
파일: Comm.cs 프로젝트: xmvdev/MoneroVMiner
        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);
        }
예제 #2
0
        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);
        }