From 86c902b2f8bb21297bc055ed5d499667ab98c8a8 Mon Sep 17 00:00:00 2001 From: kanoi Date: Fri, 22 Aug 2014 23:15:02 +1000 Subject: [PATCH] ckdb - add a UTC timestamp to the end of the New block message --- src/ckdb.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ckdb.c b/src/ckdb.c index 11a47f5d..15218d8e 100644 --- a/src/ckdb.c +++ b/src/ckdb.c @@ -4789,10 +4789,11 @@ flail: if (confirmed[0] != BLOCKS_NEW) tmp[0] = '\0'; else { + tv_to_buf(&(DATA_BLOCKS(b_item)->createdate), cd_buf, sizeof(cd_buf)); snprintf(tmp, sizeof(tmp), - " Reward: %f, User: %s, Worker: %s, ShareEst: %.1f", + " Reward: %f, User: %s, Worker: %s, ShareEst: %.1f UTC:%s", BTC_TO_D(DATA_BLOCKS(b_item)->reward), - username, workername, pool.diffacc); + username, workername, pool.diffacc, cd_buf); if (pool.workinfoid < DATA_BLOCKS(b_item)->workinfoid) { pool.workinfoid = DATA_BLOCKS(b_item)->workinfoid; pool.diffacc = pool.differr =