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

remove contains height from BlocksProtocol #18573

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

almogdepaz
Copy link
Contributor

Purpose:

remove contains height from blocks protocol

Current Behavior:

we are using contains height that just checks the height_to_hash where we can just check if height is <= peak.height

New Behavior:

add get_peak_height to BlocksProtocol and use that instead of contains_height

Testing Notes:

@almogdepaz almogdepaz added Blockchain team Issues tagged for Blockchain team to work on Fixed Required label for PR that categorizes merge commit message as "Fixed" for changelog Cleanup Code cleanup labels Sep 10, 2024
revert wallet change
@almogdepaz almogdepaz marked this pull request as ready for review September 10, 2024 10:12
@almogdepaz almogdepaz requested a review from a team as a code owner September 10, 2024 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blockchain team Issues tagged for Blockchain team to work on Cleanup Code cleanup Fixed Required label for PR that categorizes merge commit message as "Fixed" for changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant