Skip to content

Commit

Permalink
1.0.0.6-Mandatory upgrade for Miners
Browse files Browse the repository at this point in the history
- Prevent crash during big blocks
  • Loading branch information
biblepay committed Oct 21, 2019
1 parent 6755499 commit f29f488
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file modified binaries/bbpminer-x86.exe
Binary file not shown.
Binary file modified binaries/bbpminer_linux
Binary file not shown.
4 changes: 2 additions & 2 deletions cpu-miner.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ static const char *algo_names[] = {
[ALGO_SHA256D] = "sha256d",
};

int BBP_VERSION = 1005;
int BBP_VERSION = 1006;
bool fSolo = false;
bool fDebug = false;
bool opt_debug = false;
Expand Down Expand Up @@ -270,7 +270,7 @@ struct work {
// initial work structure
uint32_t data[32];
uint32_t target[8];
uint32_t block[128000];
uint32_t block[1000000];
int block_size_bytes;
int height;
char *txs;
Expand Down
2 changes: 1 addition & 1 deletion miner.h
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ struct stratum_ctx
size_t xnonce2_size;
struct stratum_job job;
pthread_mutex_t work_lock;
uint32_t block[128000];
uint32_t block[1000000];
int block_size_bytes;
};

Expand Down

0 comments on commit f29f488

Please sign in to comment.