chia-blockchain icon indicating copy to clipboard operation
chia-blockchain copied to clipboard

refactor get_block_generator

Open almogdepaz opened this issue 1 year ago • 5 comments

Purpose:

when we reorg we traverse the blockchain in multiple places to find the fork height, this is an attempt at removing blockchain traversal to find fork height, this can be done since in all cases other then short_backtrack_sync we know the fork before we start syncing

Current Behavior:

use blockchain traversal to find the fork height

New Behavior:

propagate the fork height from the sync flow into the validation flows

Testing Notes:

almogdepaz avatar Nov 23 '23 05:11 almogdepaz

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Nov 29 '23 16:11 github-actions[bot]

Conflicts have been resolved. A maintainer will review the pull request shortly.

github-actions[bot] avatar Dec 13 '23 12:12 github-actions[bot]

This PR has been flagged as stale due to no activity for over 60 days. It will not be automatically closed, but it has been given a stale-pr label and should be manually reviewed by the relevant parties.

github-actions[bot] avatar Feb 02 '24 11:02 github-actions[bot]

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Mar 14 '24 17:03 github-actions[bot]

This PR has been flagged as stale due to no activity for over 60 days. It will not be automatically closed, but it has been given a stale-pr label and should be manually reviewed by the relevant parties.

github-actions[bot] avatar Apr 29 '24 11:04 github-actions[bot]