@ -52,24 +52,29 @@ extern bool hex2bin(unsigned char *p, const char *hexstr, size_t len);
extern unsigned int ScanHash_4WaySSE2 ( const unsigned char * pmidstate ,
extern unsigned int ScanHash_4WaySSE2 ( const unsigned char * pmidstate ,
unsigned char * pdata , unsigned char * phash1 , unsigned char * phash ,
unsigned char * pdata , unsigned char * phash1 , unsigned char * phash ,
const unsigned char * ptarget ,
uint32_t max_nonce , unsigned long * nHashesDone ) ;
uint32_t max_nonce , unsigned long * nHashesDone ) ;
extern bool scanhash_via ( unsigned char * data_inout ,
extern bool scanhash_via ( unsigned char * data_inout ,
const unsigned char * target ,
uint32_t max_nonce , unsigned long * hashes_done ) ;
uint32_t max_nonce , unsigned long * hashes_done ) ;
extern bool scanhash_c ( const unsigned char * midstate , unsigned char * data ,
extern bool scanhash_c ( const unsigned char * midstate , unsigned char * data ,
unsigned char * hash1 , unsigned char * hash ,
unsigned char * hash1 , unsigned char * hash ,
const unsigned char * target ,
uint32_t max_nonce , unsigned long * hashes_done ) ;
uint32_t max_nonce , unsigned long * hashes_done ) ;
extern bool scanhash_cryptopp ( const unsigned char * midstate , unsigned char * data ,
extern bool scanhash_cryptopp ( const unsigned char * midstate , unsigned char * data ,
unsigned char * hash1 , unsigned char * hash ,
unsigned char * hash1 , unsigned char * hash ,
const unsigned char * target ,
uint32_t max_nonce , unsigned long * hashes_done ) ;
uint32_t max_nonce , unsigned long * hashes_done ) ;
extern bool scanhash_asm32 ( const unsigned char * midstate , unsigned char * data ,
extern bool scanhash_asm32 ( const unsigned char * midstate , unsigned char * data ,
unsigned char * hash1 , unsigned char * hash ,
unsigned char * hash1 , unsigned char * hash ,
const unsigned char * target ,
uint32_t max_nonce , unsigned long * hashes_done ) ;
uint32_t max_nonce , unsigned long * hashes_done ) ;
extern int
extern int
timeval_subtract ( struct timeval * result , struct timeval * x , struct timeval * y ) ;
timeval_subtract ( struct timeval * result , struct timeval * x , struct timeval * y ) ;
extern void print_pow ( const unsigned char * hash ) ;
extern bool fulltest ( const unsigned char * hash , const unsigned char * target ) ;
# endif /* __MINER_H__ */
# endif /* __MINER_H__ */