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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

deadalnix created this revision.Jan 7 2019, 17:16
Herald added a reviewer: Restricted Project. · View Herald TranscriptJan 7 2019, 17:16
Herald added a subscriber: schancel. · View Herald Transcript
jasonbcox accepted this revision.Jan 8 2019, 01:46
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.