Browse Source

Improve block messages

master
Con Kolivas 9 years ago
parent
commit
e5348ad6f2
  1. 2
      src/generator.c
  2. 2
      src/stratifier.c

2
src/generator.c

@ -2766,7 +2766,7 @@ retry:
char blockmsg[80];
bool ret;
LOGNOTICE("Submitting likely block solve share to upstream pool");
LOGNOTICE("Submitting likely block solve share from upstream pool");
ret = submit_block(cs, buf + 12 + 64 + 1);
memset(buf + 12 + 64, 0, 1);
sprintf(blockmsg, "%sblock:%s", ret ? "" : "no", buf + 12);

2
src/stratifier.c

@ -2947,7 +2947,7 @@ static void block_reject(sdata_t *sdata, const char *blockhash)
json_decref(val);
free(found);
LOGWARNING("Submitted, but rejected block %d", height);
LOGWARNING("Submitted, but had block %d rejected", height);
}
/* Some upstream pools (like p2pool) don't update stratum often enough and

Loading…
Cancel
Save