-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(mempool): Re-verify transactions that were verified at a differen…
…t tip height (#6154) * checks tip height before mempool insertions * adds unit test for reverifying txs * Adds TODO * Adds correctness note * dedup best_tip_height() calls * Update zebrad/src/components/mempool.rs Co-authored-by: teor <[email protected]> * uses Option for expected tip height * removes misplaced dummy_call() * calls wait_for_chain_tip without a timeout where it doesn't matter and skips instead of panicking where it doesn't * Update zebrad/src/components/mempool/tests/vector.rs * removes whitespace for rustfmt --------- Co-authored-by: teor <[email protected]>
- Loading branch information
Showing
3 changed files
with
233 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters