Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inscription numbers #793

Closed
casey opened this issue Nov 15, 2022 · 1 comment
Closed

Inscription numbers #793

casey opened this issue Nov 15, 2022 · 1 comment

Comments

@casey
Copy link
Collaborator

casey commented Nov 15, 2022

Should inscriptions have short, unique numbers?

Idea:

Inscriptions are numbered in the order in which they are mined. These numbers are always represented in hex. hex(10 ** 9) is 0x3b9aca00 so these strings would be very short. If they were represented as hex, with a 0x prefix, then they can't be confused with ordinal numbers.

Knowing which inscription has which number requires a full node, since you have to see all previous inscriptions, which requires indexing every transaction.

@casey casey added this to the Protocol Ossification milestone Nov 15, 2022
@casey
Copy link
Collaborator Author

casey commented Dec 4, 2022

I think this is a bad idea:

  • Numbers don't have a huge advantage over hashes, symbols are human readable, so they're way better than hashes
  • There is no way to provide a compact fraud proof for numbers, whereas there is for symbols (just show earlier inscription with same symbol)

@casey casey closed this as completed Dec 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant