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

feat: re-broadcast stale txs #739

Draft
wants to merge 30 commits into
base: feat/reactivate-reorg-support
Choose a base branch
from

Conversation

boecklim
Copy link
Collaborator

@boecklim boecklim commented Jan 9, 2025

Description of Changes

This PR is intended to replace: #691

  • Transactions that are ONLY in the STALE chain and are not found in the longest chain, will try to be re-announced to the network and circle back from statuses SEEN_ON_NETWORK forward.
  • Removed option onlyLongestChain from GetMinedTransactions blocktx store method.
  • Respecting height range in GetChainTip blocktx store method.

Testing Procedure

  • I have added new unit tests
  • All tests pass locally
  • I have tested manually in my local environment

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have updated CHANGELOG.md with my changes

boecklim and others added 30 commits January 6, 2025 16:01
… allow for processing mined transactions when gaps are existing (#716). This reverts commit ba20b1b.
… considered from the longest blockchain by default
@boecklim boecklim changed the base branch from main to feat/reactivate-reorg-support January 9, 2025 16:24
@boecklim boecklim self-assigned this Jan 9, 2025
@boecklim boecklim force-pushed the feat/reactivate-reorg-support branch 6 times, most recently from 0ecde3c to 78fc981 Compare January 15, 2025 10:29
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.

2 participants