diff options
author | stickies-v <stickies-v@protonmail.com> | 2024-01-17 12:51:08 +0000 |
---|---|---|
committer | stickies-v <stickies-v@protonmail.com> | 2024-01-18 21:54:56 +0000 |
commit | 282b12ddb0aeb1f0991dd9f45c6b5c5c079652ec (patch) | |
tree | e81dea1d80aa5333d441a10db131ede282d8219d /src/txmempool.h | |
parent | c818607ed59eb87be65b558f34bd6df049f6b238 (diff) | |
download | bitcoin-282b12ddb0aeb1f0991dd9f45c6b5c5c079652ec.tar.xz |
refactor: remove CTxMemPool::queryHashes()
Its only usage can easily be replaced with CTxMemPool::entryAll()
Diffstat (limited to 'src/txmempool.h')
-rw-r--r-- | src/txmempool.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/txmempool.h b/src/txmempool.h index 9da51756e6..ca842632da 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -485,7 +485,6 @@ public: void removeForBlock(const std::vector<CTransactionRef>& vtx, unsigned int nBlockHeight) EXCLUSIVE_LOCKS_REQUIRED(cs); bool CompareDepthAndScore(const uint256& hasha, const uint256& hashb, bool wtxid=false); - void queryHashes(std::vector<uint256>& vtxid) const; bool isSpent(const COutPoint& outpoint) const; unsigned int GetTransactionsUpdated() const; void AddTransactionsUpdated(unsigned int n); |