chia-blockchain
chia-blockchain copied to clipboard
refactor get_block_generator
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:
This pull request has conflicts, please resolve those before we can evaluate the pull request.
Conflicts have been resolved. A maintainer will review the pull request shortly.
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.
This pull request has conflicts, please resolve those before we can evaluate the pull request.
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.