From e5348ad6f2e1876ba6ec5d618fa1bc2380bb9471 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 17 Jan 2016 15:54:36 +1100 Subject: [PATCH] Improve block messages --- src/generator.c | 2 +- src/stratifier.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/generator.c b/src/generator.c index 98a5c185..3a1390ed 100644 --- a/src/generator.c +++ b/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); diff --git a/src/stratifier.c b/src/stratifier.c index ee8009ab..9ccd715d 100644 --- a/src/stratifier.c +++ b/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