What is Nostr?
Erik
npub1ur8…58yl
2024-09-22 21:31:12
in reply to nevent1q…r77u

Erik on Nostr: They can't, because they assume that nonces are: - The very last thing in a 80 bytes ...

They can't, because they assume that nonces are:

- The very last thing in a 80 bytes digesg
- Binary (nostr uses strings)

Even if you make the nonce come at fhe end, and precompute the midstate for the first block. You still need to have a closing "] to make the json valid. While you could do accieve the latter by fixing the nonce range to keep the last bits fixed, you lose a lot of nonce space.

And again, your serialized note should be exactly 80 bytes
Author Public Key
npub1ur8m24ya8nmakn38xmuwr0yy7cjgdtm6gy54mpnudgcngkgyy55qxc58yl