Skip to content

wip: state machine updates for tx replay #3

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

Closed

Conversation

hstove
Copy link
Owner

@hstove hstove commented Apr 11, 2025

This PR implements:

  • Detecting forks in the signer state machine
  • Updating the tenure fork info API to include dropped blocks, which can be used to construct the tx replay set

hstove and others added 20 commits April 11, 2025 07:24
In addition to waiting for the last block it mined to be processed, now
the miner will also wait to be unblocked. This ensures that the miner
does not start mining before it is unblocked by the chains coordinator
thread.

This solves flakiness in `tests::signer::v0::verify_mempool_caches`.
Signed-off-by: Jacinta Ferrant <[email protected]>
This fixes a regression in 3.1.0.0.8.
…imple-signer

Make sure order doesn't matter when testing simple signer
…imeout_steps

feat: reduce default `block_rejection_timeout_steps`
…nregistered-signer

fix: remove unregistered signers in cleanup_stale_signers
fix: do not check for utxos when mock-mining
…-validation

feat: add validation, test for signer validation replay blocks
@hstove hstove closed this Apr 23, 2025
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.

5 participants