Skip to content

Commit

Permalink
test release
Browse files Browse the repository at this point in the history
  • Loading branch information
djm34 committed Dec 12, 2018
1 parent 9988d4e commit 48631ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion RUN-ZCOIN-MTP.cmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

rem x64\Release\ccminer -a mtp -o http://127.0.0.1:8382 -u djm34 -p password --coinbase-addr aDn7MMYjVQqenT11VFDYHfFdwXmSTRUTak -d 1070 --no-getwork -i 18
x64\Release\ccminer -a mtp -o stratum+tcp://zcoin.mintpond.com:3000 -u aDn7MMYjVQqenT11VFDYHfFdwXmSTRUTak.worker -p 0 -i 16 -d 0,1
x64\Release\ccminer -a mtp -o stratum+tcp://zcoin.mintpond.com:3000 -u aDn7MMYjVQqenT11VFDYHfFdwXmSTRUTak.worker -p 0 -i 16 -d 0,1 --quiet

pause
4 changes: 2 additions & 2 deletions cuda_mtp/mtp.cu
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ extern "C" int scanhash_mtp(int nthreads,int thr_id, struct work* work, uint32_t
// unsigned char TheMerkleRoot[16];
unsigned char mtpHashValue[32];

int real_maxnonce = UINT32_MAX / nthreads * (thr_id + 1);


if (JobId==0)
pthread_barrier_init(&barrier, NULL, nthreads);
Expand All @@ -47,7 +47,7 @@ if (JobId==0)
uint32_t *pdata = work->data;
uint32_t *ptarget = work->target;
const uint32_t first_nonce = pdata[19];

int real_maxnonce = UINT32_MAX / nthreads * (thr_id + 1);
if (opt_benchmark)
ptarget[7] = 0x00ff;

Expand Down

0 comments on commit 48631ed

Please sign in to comment.