Bitcoin Forum
November 11, 2024, 01:55:22 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Looking for a coder to compile cgminer with our small change (0.1 BTC)  (Read 663 times)
k5opt (OP)
Member
**
Offline Offline

Activity: 71
Merit: 10



View Profile
February 09, 2014, 10:15:28 AM
 #1


need to compile cgminer
from https://github.com/Eropi4/cgminer_keccak/
with following function change in file keccak.c

from:

Code:
void Hash3(uint256 *pResult, unsigned char const *pbegin, unsigned char const *pend)
{
 uint256 hash1;
 uint256 hash2;
 crypto_hash((unsigned char*)&hash1, pbegin, (pend - pbegin) * sizeof(pbegin[0]));
 crypto_hash((unsigned char*)&hash2, (unsigned char*)&hash1, sizeof(hash1));
 *pResult = hash2;
}

to:

Code:
void Hash3(uint256 *pResult, unsigned char const *pbegin, unsigned char const *pend)
{
 uint256 hash1;
 crypto_hash((unsigned char*)&hash1, pbegin, (pend - pbegin) * sizeof(pbegin[0]));
 *pResult = hash1;
}

in fact its just to remove 2nd hashing


PM me  or use Skype: vlaage

00ph8al
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
February 09, 2014, 01:37:59 PM
 #2

Compiled for what OS?
deepv0id
Newbie
*
Offline Offline

Activity: 25
Merit: 0


View Profile
February 09, 2014, 03:21:18 PM
 #3

Compiled for what OS?

win32 for sure, win64 optional
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!