public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
From: "Luke-Jr" <luke@dashjr.org>
To: bitcoin-development@lists.sourceforge.net
Subject: Re: [Bitcoin-development] Deprecating "midstate" in getwork?
Date: Tue, 27 Sep 2011 23:54:00 -0400	[thread overview]
Message-ID: <201109272354.02695.luke@dashjr.org> (raw)
In-Reply-To: <CA+8xBpfwsajD1J-GRMLgqQwop1T0n=4jqtfQmtBoRvj3rzcY7w@mail.gmail.com>

On Tuesday, September 27, 2011 11:45:48 PM Jeff Garzik wrote:
> On Mon, Sep 26, 2011 at 3:42 PM, Nils Schneider <nils@nilsschneider.net> 
wrote:
> > I'd like to simplify the internal reference miner and remove all
> > dependencies on cryptopp (it's the only place we use cryptopp instead of
> > OpenSSL).
> > 
> > Unfortunately, cryptopp is also used to calculate getwork "midstate".
> > This field is redundant and the miner could easily calculate it from the
> > blockheader so I'd like to remove it.
> > 
> > Any thoughts? Where should such a change should be announced so all
> > miners can be upgraded?
> 
> I think one of the pools was already working on something like that?
> I'm pretty sure it can be removed, and I'm pretty sure somebody has
> already field-tested that guess.

I tested removing midstate myself, and found at least one miner (cpuminer 
IIRC) requires it.



  reply	other threads:[~2011-09-28  3:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-26 19:42 [Bitcoin-development] Deprecating "midstate" in getwork? Nils Schneider
2011-09-28  3:45 ` Jeff Garzik
2011-09-28  3:54   ` Luke-Jr [this message]
2011-09-29 10:23 ` John Smith
2011-09-29 11:40   ` Nils Schneider
2011-09-29 11:48     ` Stefan Thomas
2011-09-29 12:49       ` solar
2011-10-02  7:52         ` John Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201109272354.02695.luke@dashjr.org \
    --to=luke@dashjr.org \
    --cc=bitcoin-development@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox