So we don't keep polling for ancestors when the child tx has been finalized.
Details
Details
- Reviewers
PiRK roqqit - Group Reviewers
Restricted Project - Commits
- rABC3bca6fa41005: [avalanche] Add the finalized transactions ancestors to the list of recently…
ninja all check-all
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
src/txmempool.cpp | ||
---|---|---|
534 ↗ | (On Diff #52918) | I find this behavior a bit surprising. Shouldn't it be the caller's responsibility to provide an empty output vector? |
test/functional/abc_p2p_avalanche_transaction_finalization.py | ||
62 ↗ | (On Diff #52918) |
src/txmempool.cpp | ||
---|---|---|
534 ↗ | (On Diff #52918) | you want to return the vector if finalized ids, so you need to clear it to fulfill this expectation |