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

Can we rely on the first block in the first blockfile being the genesis block? #69

Closed
casey opened this issue Jan 29, 2022 · 1 comment

Comments

@casey
Copy link
Collaborator

casey commented Jan 29, 2022

This would be nice to avoid hard coding the genesis block in tests, and also make the ord command work with regtest, testnet, etc blockfiles without further configuration.

@casey
Copy link
Collaborator Author

casey commented Feb 4, 2022

No, but we don't have to, we just look for the block where prev_blockhash is 0.

@casey casey closed this as completed Feb 4, 2022
yann-sjtu pushed a commit to okx/ord that referenced this issue Dec 18, 2023
* update readme and dockerfile (ordinals#69)

* update readme

* add dockerfile

* Lrh/bugfix api (ordinals#79)

* update readme and dockerfile (ordinals#70)

* update readme

* add dockerfile

* fix api inscription address error

* fix brc20 api incorrect inscriptions (ordinals#76)

* should only conpile on 64bits target (ordinals#77)

* update dependencies versions (ordinals#81)

* release: 0.7.1

---------

Co-authored-by: cwbhhjl <cwbhhjl@gmail.com>
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