Why Nostr? What is Njump?
2024-09-22 17:31:15

provoost on Nostr: So it seems likely a Bitcoin ASIC can't grind nip-13 proof-of-work. Or can it, with ...

So it seems likely a Bitcoin ASIC can't grind nip-13 proof-of-work. Or can it, with AsicBoost like magic?

The event id is manipulated to get leading zeros (in binary). This is supposed to be done by adding a nonce tag and then rotating that, but a miner could of course hold the nonce fixed and grind something else.

Assuming you must feed it 80 bytes, the equivalent of a Bitcoin header, the last two characters have to be "] which means only 1 in 256 nonces (the last 4 bytes of the header) produce a valid nostr message. Or can the chips be told not to grind the last two bytes?

But most importantly you have to be able to feed the asic the first part of the message as a midstate. If you can do that, then I think the message can be of arbitrary length. But I don't understand well enough what these chips can and can't do.
if spammers want to PoW their spam, good for them!

because that's kind of the point:

now they needs to invest in real-world real sources to sustain their load, so they have to carefully calculate how far they're willing to go with their spam.

and relays can always set a PoW limit that is high enough.

but I don't think BitAxes will be useful here!

fun fact I learned from skot9000:

Bitcoin mining ASICs can only calculate sha256d hashes for 80 byte preimages.

maybe a skillful hacker could make something work with severe limitations on note size, but I'm actually quite curious to see a potential economy of nostr note mining around GPUs 🎮⚙️
Author Public Key
npub1s6z7hmmx2vud66f3utxd70qem8cwtggx0jgc7gh8pqwz2k8cltuqrdwk4c