mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-30 16:34:23 +00:00
Export the workpadding char in miner.h
This commit is contained in:
parent
46b6b07afa
commit
34bc106d82
@ -1686,7 +1686,7 @@ static void update_gbt(struct pool *pool)
|
|||||||
curl_easy_cleanup(curl);
|
curl_easy_cleanup(curl);
|
||||||
}
|
}
|
||||||
|
|
||||||
static char *workpadding = "000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000";
|
char *workpadding = "000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000";
|
||||||
|
|
||||||
static void gen_gbt_work(struct pool *pool, struct work *work)
|
static void gen_gbt_work(struct pool *pool, struct work *work)
|
||||||
{
|
{
|
||||||
|
1
miner.h
1
miner.h
@ -1036,6 +1036,7 @@ extern char *current_fullhash;
|
|||||||
extern double current_diff;
|
extern double current_diff;
|
||||||
extern uint64_t best_diff;
|
extern uint64_t best_diff;
|
||||||
extern struct timeval block_timeval;
|
extern struct timeval block_timeval;
|
||||||
|
extern char *workpadding;
|
||||||
|
|
||||||
#ifdef HAVE_OPENCL
|
#ifdef HAVE_OPENCL
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user