What is Nostr?
Matt Corallo [ARCHIVE] /
npub1e46…xmcu
2023-06-07 17:48:58
in reply to nevent1q…n497

Matt Corallo [ARCHIVE] on Nostr: 📅 Original date posted:2016-02-09 📝 Original message:On 02/09/16 22:10, Luke ...

📅 Original date posted:2016-02-09
📝 Original message:On 02/09/16 22:10, Luke Dashjr wrote:
> On Tuesday, February 09, 2016 10:00:44 PM Matt Corallo via bitcoin-dev wrote:
>> Indeed, we could push for more place by just always having one 0-byte,
>> but I'm not sure the added complexity helps anything? ASICs can never be
>> designed which use more extra-nonce-space than what they can reasonably
>> assume will always be available, so we might as well just set the
>> maximum number of bytes and let ASIC designers know exactly what they
>> have available. Currently blocks start with at least 8 0-bytes. We could
>> just say minimum difficulty is now 6 0-bytes (2**16x harder) and reserve
>> those?
>
> The extranonce rolling doesn't necessarily need to happen in the ASIC itself.
> With the current extranonce-in-gentx, an old RasPi 1 can only handle creating
> work for up to 5 Gh/s with a 500k gentx.


Did you read the footnote on my original email? There is some potential
for optimization if you can brute-force the midstate, which today
requires using the nVersion space as nonce. In order to fix this we need
to add nonce space in the first compression function, so this is an
ideal place. Even ignoring that reducing complexity of mining control
stuff is really nice. If we could go back to just providing block
headers to miners instead of having to provide the entire
transaction-hash-list we could move a ton of complexity back into
Bitcoin Core from mining setups, which have historically been pretty
poorly-reviewed codebases.


> Furthermore, there is a direct correlation between ASIC speeds and difficulty,
> so increasing the extranonce space dynamically makes a lot of sense.
>
> I don't see any reason *not* to increase the minimum difficulty at the same
> time, though.

Meh, my point was less that its a really bad idea and more that it adds
compexity that I dont see much need for.
Author Public Key
npub1e46n428mcyfwznl7nlsf6d3s7rhlwm9x3cmkuqzt3emmdpadmkaqqjxmcu