summaryrefslogtreecommitdiff
path: root/25/497fb3592f8c83cf5fc0dc074badf2574ce3ab
blob: 450ba53ff58a96fe9831fa33eb11190c828cee86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194]
	helo=mx.sourceforge.net)
	by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
	(envelope-from <jgarzik@exmulti.com>) id 1R8l5m-0000dF-IE
	for bitcoin-development@lists.sourceforge.net;
	Wed, 28 Sep 2011 03:45:54 +0000
X-ACL-Warn: 
Received: from mail-yx0-f175.google.com ([209.85.213.175])
	by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-MD5:128)
	(Exim 4.76) id 1R8l5l-0002C9-Oz
	for bitcoin-development@lists.sourceforge.net;
	Wed, 28 Sep 2011 03:45:54 +0000
Received: by yxj17 with SMTP id 17so7620197yxj.34
	for <bitcoin-development@lists.sourceforge.net>;
	Tue, 27 Sep 2011 20:45:48 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.236.131.37 with SMTP id l25mr52177778yhi.76.1317181548107;
	Tue, 27 Sep 2011 20:45:48 -0700 (PDT)
Received: by 10.236.111.33 with HTTP; Tue, 27 Sep 2011 20:45:48 -0700 (PDT)
X-Originating-IP: [99.43.178.25]
In-Reply-To: <4E80D591.2080100@nilsschneider.net>
References: <4E80D591.2080100@nilsschneider.net>
Date: Tue, 27 Sep 2011 23:45:48 -0400
Message-ID: <CA+8xBpfwsajD1J-GRMLgqQwop1T0n=4jqtfQmtBoRvj3rzcY7w@mail.gmail.com>
From: Jeff Garzik <jgarzik@exmulti.com>
To: Nils Schneider <nils@nilsschneider.net>
Content-Type: text/plain; charset=ISO-8859-1
X-Spam-Score: 0.0 (/)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
	See http://spamassassin.org/tag/ for more details.
X-Headers-End: 1R8l5l-0002C9-Oz
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: <bitcoin-development.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development>
List-Post: <mailto:bitcoin-development@lists.sourceforge.net>
List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
	<mailto:bitcoin-development-request@lists.sourceforge.net?subject=subscribe>
X-List-Received-Date: Wed, 28 Sep 2011 03:45:54 -0000

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.
-- 
Jeff Garzik
exMULTI, Inc.
jgarzik@exmulti.com