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

Introduce a consensus hash #2574

Open
lgalabru opened this issue Oct 23, 2023 · 3 comments
Open

Introduce a consensus hash #2574

lgalabru opened this issue Oct 23, 2023 · 3 comments

Comments

@lgalabru
Copy link

lgalabru commented Oct 23, 2023

Having ord publishing a consensus / root hash that would include:

  • consensus hash of previous block
  • for each blessed inscription reveal: inscription number + inscription inscription id + content hash
  • for each blessed inscription transfer: inscription id + new outpoint + new offset

Introducing this kind of consensus hash would be very helpful for many actors in this ecosystem.
It would also help everyone understand that if it's not part of consensus (say, cursed inscriptions, or even better, inscription number), it is subject to change.

@raphjaph
Copy link
Collaborator

I can see this being helpful, we could publish the current block's hash on the /status page. We would just have to agree on the serialization and order of hashing.

@lgalabru
Copy link
Author

lgalabru commented Dec 5, 2023

@raphjaph we will be tackling this in ordhook and probably be using the following spec, feel free to leave some feedbacks :)

@casey
Copy link
Collaborator

casey commented Dec 5, 2023

The consensus hash should probably include bitcoin block hashes.

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

3 participants