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

Block height is changed to 32 bit from 64 bit #286

Merged
merged 2 commits into from
Jan 18, 2024

Conversation

Naviabheeman
Copy link
Contributor

@Naviabheeman Naviabheeman commented Oct 17, 2023

Only RPCs in Tapyrus-core use 64 bit block height This was because univalve supported only uint64_t and not uint32_t. Now this is updated

Other layers like block index, utxo cache, chain state and wallet refer to block height as "int". These are not changed. Height is initialised to -1 to identify that it's invalid. most logic in the block validation depends on this initial value. This part is not changed

@azuchi azuchi merged commit f606abe into chaintope:master Jan 18, 2024
@Naviabheeman Naviabheeman deleted the BlockHeight32 branch September 17, 2024 10:46
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

Successfully merging this pull request may close these issues.

2 participants