PyBitmessage-2021-04-27/src/workprover/fastsolver/common.h

14 lines
302 B
C

#ifndef COMMON_H
#define COMMON_H
extern volatile int run;
#define SEED_LENGTH (32 + 8)
extern const char *initial_hash;
extern unsigned long long target;
extern const char *seed;
int work(char *nonce, unsigned long long *iterations_count, size_t thread_number);
#endif