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
- 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