Luke-Jr [ARCHIVE] on Nostr: 📅 Original date posted:2011-09-28 🗒️ Summary of this message: A proposal to ...
📅 Original date posted:2011-09-28
🗒️ Summary of this message: A proposal to simplify the internal reference miner by removing dependencies on cryptopp and the getwork "midstate" field is being discussed.
📝 Original message:On Tuesday, September 27, 2011 11:45:48 PM Jeff Garzik wrote:
> On Mon, Sep 26, 2011 at 3:42 PM, Nils Schneider <nils at 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.
🗒️ Summary of this message: A proposal to simplify the internal reference miner by removing dependencies on cryptopp and the getwork "midstate" field is being discussed.
📝 Original message:On Tuesday, September 27, 2011 11:45:48 PM Jeff Garzik wrote:
> On Mon, Sep 26, 2011 at 3:42 PM, Nils Schneider <nils at 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.