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.
Published at
2023-06-07 02:30:01Event JSON
{
"id": "8df4f03a90261534085703bbe0869c6bb8e11175168f40831d6ee57393586134",
"pubkey": "6ac6a519b554d8ff726a301e3daec0b489f443793778feccc6ea7a536f7354f1",
"created_at": 1686105001,
"kind": 1,
"tags": [
[
"e",
"6491defa1f8d3f8d731a73f0c9e5252dbcef1fa25b10ce935f3278c866036399",
"",
"root"
],
[
"e",
"89a1ca10ff90829cad2fbb12d21961f7c4bd043040b4007b3b309888d0e350ab",
"",
"reply"
],
[
"p",
"b25e10e25d470d9b215521b50da0dfe7a209bec7fedeb53860c3e180ffdc8c11"
]
],
"content": "📅 Original date posted:2011-09-28\n🗒️ 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.\n📝 Original message:On Tuesday, September 27, 2011 11:45:48 PM Jeff Garzik wrote:\n\u003e On Mon, Sep 26, 2011 at 3:42 PM, Nils Schneider \u003cnils at nilsschneider.net\u003e \nwrote:\n\u003e \u003e I'd like to simplify the internal reference miner and remove all\n\u003e \u003e dependencies on cryptopp (it's the only place we use cryptopp instead of\n\u003e \u003e OpenSSL).\n\u003e \u003e \n\u003e \u003e Unfortunately, cryptopp is also used to calculate getwork \"midstate\".\n\u003e \u003e This field is redundant and the miner could easily calculate it from the\n\u003e \u003e blockheader so I'd like to remove it.\n\u003e \u003e \n\u003e \u003e Any thoughts? Where should such a change should be announced so all\n\u003e \u003e miners can be upgraded?\n\u003e \n\u003e I think one of the pools was already working on something like that?\n\u003e I'm pretty sure it can be removed, and I'm pretty sure somebody has\n\u003e already field-tested that guess.\n\nI tested removing midstate myself, and found at least one miner (cpuminer \nIIRC) requires it.",
"sig": "79b1f7671b2c32874ff239263a54ff9f36f5038d2aed2f72e2ff527a749cfc1d17955ab019ccce9b455093cea9b00211adf9d0b9120200c1328161d4df175411"
}