-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Fix deep reorgs #16594
Fix deep reorgs #16594
Commits on Nov 14, 2023
-
add feature to BlockTools to allow including block references to prev…
…ious generators in test chains. Use a longer chain, with block generators, in the long_reorg test add new test block chain fixture for reorgs with lighter weight blocks, this covers reorgs to greater block heights than the current peak
Configuration menu - View commit details
-
Copy full SHA for 020bf7f - Browse repository at this point
Copy the full SHA 020bf7fView commit details -
add feature to BlockTools to include transactions in every transactio…
…n block, to exercise more parts of our validation logic in simulations
Configuration menu - View commit details
-
Copy full SHA for 9713563 - Browse repository at this point
Copy the full SHA 9713563View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27f1ef9 - Browse repository at this point
Copy the full SHA 27f1ef9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c299c1 - Browse repository at this point
Copy the full SHA 0c299c1View commit details -
introduce new function, lookup_fork_chain(), similar to find_fork_poi…
…nt_in_chain(), but return the whole sequence of block hashes
Configuration menu - View commit details
-
Copy full SHA for 43b5fff - Browse repository at this point
Copy the full SHA 43b5fffView commit details -
optimize find_fork_point_in_chain() to just look up prev_hash from th…
…e database, avoiding parsing and constructing a whole BlockRecord object for block traversed
Configuration menu - View commit details
-
Copy full SHA for e42f77c - Browse repository at this point
Copy the full SHA e42f77cView commit details -
fix reorg performance issue by preserving additions and removals acro…
…ss block validations (instead of re-computing them from scratch for every block)
Configuration menu - View commit details
-
Copy full SHA for d9f0a0f - Browse repository at this point
Copy the full SHA d9f0a0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 482d1ba - Browse repository at this point
Copy the full SHA 482d1baView commit details -
update test_long_reorg to use the new, longer, test chains with block…
… generators and block references
Configuration menu - View commit details
-
Copy full SHA for d72c030 - Browse repository at this point
Copy the full SHA d72c030View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ec2252 - Browse repository at this point
Copy the full SHA 9ec2252View commit details -
Configuration menu - View commit details
-
Copy full SHA for e44ab03 - Browse repository at this point
Copy the full SHA e44ab03View commit details -
log when entering the slow-path of validating orphaned blocks. Ideall…
…y, we don't get here
Configuration menu - View commit details
-
Copy full SHA for 10fc08e - Browse repository at this point
Copy the full SHA 10fc08eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c5a374 - Browse repository at this point
Copy the full SHA 8c5a374View commit details -
Configuration menu - View commit details
-
Copy full SHA for e277a4f - Browse repository at this point
Copy the full SHA e277a4fView commit details