Page MenuHomePhabricator

Add a CValidationInterface::TransactionRemovedFromMempool
ClosedPublic

Authored by deadalnix on Jan 7 2019, 17:16.

Details

Summary

This is currently unused, but will by used by wallet to cache when
transactions are in the mempool, obviating the need for calls to
mempool from CWalletTx::InMempool()

This is extracted from Core's PR10286 commit a7d3936de8418522dbb161bfef31c234fc6c2503

Test Plan
make check
./test/functional/test_runner.py

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jasonbcox added a subscriber: jasonbcox.
jasonbcox added inline comments.
src/validationinterface.cpp
139 ↗(On Diff #6542)

Looks like ptx should be a reference

This revision is now accepted and ready to land.Jan 8 2019, 01:46
This revision was automatically updated to reflect the committed changes.