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

Restrictions #963

Closed
casey opened this issue Dec 14, 2022 · 1 comment
Closed

Restrictions #963

casey opened this issue Dec 14, 2022 · 1 comment
Milestone

Comments

@casey
Copy link
Collaborator

casey commented Dec 14, 2022

A hard requirement before launching on mainnet is that we can make future changes in such a way that we avoid breaking existing inscriptions.

One way to do this is to create restrictions which narrow down the set of inscriptions that we accept, so that we can add features and simultaneously relax those restrictions.

Looking at our future features, these restrictions could be:

  • Only one inscription per sat. Inscriptions applied to already inscribed sat are invalid.
  • Only one inscription per transaction. If there is more than one inscription in a transaction's inputs, all of them are ignored.
  • Only taproot witnesses are checked for inscriptions. All other witnesses are ignored
  • Only witnesses that do not contain OP_SUCCESS are checked for inscriptions.
  • Disallow empty data pushes in the inscription body. An empty data push in the inscription body serves no purpose, and disallowing it could allow it to be used in the future.

There are a lot of restrictions here, but each is pretty simple to implement, so this would get us a path to launching on mainnet before too long.

@casey
Copy link
Collaborator Author

casey commented Dec 30, 2022

Closing this in favor of individual issues.

@casey casey closed this as completed Dec 30, 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