From 3280aab1745a5140922f888f41bbf2d252f3b0da Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Thu, 11 Aug 2016 09:12:35 +0000 Subject: [PATCH] ABI break: Remove blktemplate_t.{min,max}nonce, since it was never supported and is unlikely to ever be useful --- blktemplate.c | 1 - blktemplate.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/blktemplate.c b/blktemplate.c index d19f575..eb7a679 100644 --- a/blktemplate.c +++ b/blktemplate.c @@ -88,7 +88,6 @@ blktemplate_t *blktmpl_create() { tmpl->maxtime = 0xffffffff; tmpl->maxtimeoff = 0x7fff; tmpl->mintimeoff = -0x7fff; - tmpl->maxnonce = 0xffffffff; tmpl->expires = 0x7fff; return tmpl; diff --git a/blktemplate.h b/blktemplate.h index 624ad62..fb055ae 100644 --- a/blktemplate.h +++ b/blktemplate.h @@ -134,8 +134,6 @@ typedef struct { blktime_diff_t maxtimeoff; blktime_t mintime; blktime_diff_t mintimeoff; - blknonce_t minnonce; - blknonce_t maxnonce; // TEMPORARY HACK libblkmaker_hash_t *_mrklbranch;