Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1R9Eyw-0003p9-PI for bitcoin-development@lists.sourceforge.net; Thu, 29 Sep 2011 11:40:50 +0000 Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of nilsschneider.net designates 217.11.48.105 as permitted sender) client-ip=217.11.48.105; envelope-from=nils@nilsschneider.net; helo=ngcobalt05.manitu.net; Received: from ngcobalt05.manitu.net ([217.11.48.105]) by sog-mx-3.v43.ch3.sourceforge.com with esmtp (Exim 4.76) id 1R9Eyv-0005po-EV for bitcoin-development@lists.sourceforge.net; Thu, 29 Sep 2011 11:40:50 +0000 Received: from ngcobalt05.manitu.net (localhost [127.0.0.1]) by ngcobalt05.manitu.net (8.10.2/8.10.2) with ESMTP id p8TBeh015065; Thu, 29 Sep 2011 13:40:43 +0200 X-manitu-Original-Sender-IP: 127.0.0.1 X-manitu-Original-Receiver-Name: ngcobalt05.manitu.net Received: from [152.127.0.0] (static-ip-188-138-99-157.inaddr.ip-pool.com [188.138.99.157]) (Authenticated sender: u8956) by ngcobalt05.manitu.net (Postfix) with ESMTPSA id 01C705B46DC; Thu, 29 Sep 2011 13:40:40 +0200 (CEST) Message-ID: <4E845935.8060601@nilsschneider.net> Date: Thu, 29 Sep 2011 13:40:37 +0200 From: Nils Schneider User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Thunderbird/3.1.13 MIME-Version: 1.0 To: John Smith References: <4E80D591.2080100@nilsschneider.net> In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1R9Eyv-0005po-EV Cc: bitcoin-development@lists.sourceforge.net Subject: Re: [Bitcoin-development] Deprecating "midstate" in getwork? X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Sep 2011 11:40:50 -0000 Yes, that's possible and what https://github.com/bitcoin/bitcoin/pull/535 does. However, deprecating midstate (and hash1) would allow for much cleaner code. A pull request for marking midstate (and hash1) as deprecated can be found at https://github.com/bitcoin/bitcoin/pull/538 On 29.09.2011 12:23, John Smith wrote: > Nils, > > Sounds good. I'm also doubtful of depending on two crypto libraries when > OpenSSL does perfectly well. > > However, losing compatibility with miners is not very nice. Is there > really not a way to compute midstate with OpenSSL? > > JS > > On Mon, Sep 26, 2011 at 7:42 PM, Nils Schneider > wrote: > > Hey, > > 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? > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Bitcoin-development mailing list > Bitcoin-development@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/bitcoin-development > >