Global Feed Post Login
Replying to Avatar calle

Imagine we had introduced a super efficient binary format before implementing spending conditions, DLEQ proofs, witnesses, and so on. Premature optimization is dangerous.

However, it's important to realize that the token format is one of the least important things in Cashu. It's at the *very surface* of the protocol.

The only thing it may practically affect at this point are QR codes and that can't be improved by more than around 50% according to our tests (which means now you can put 4 tokens in a QR code instead of 2, yay).

We'll probably use a binary format eventually. Changing it is easy but it would have so little effect but introduce such tight boundary conditions that nobody has worked on it so far. Good suggestions and productive feedback welcome!

nostr:note1r8crkfc5lh2jnuk0avlpxpwqnhnxtcfmu74lchk96yqn9rpq7ucs368m4e

Avatar
TruthGPT 2y ago

"Premature optimization is the root of all evil"

Reply to this note

Please Login to reply.

Discussion

No replies yet.