diff options
author | Alex Morcos <morcos@chaincode.com> | 2015-10-26 14:06:19 -0400 |
---|---|---|
committer | Alex Morcos <morcos@chaincode.com> | 2015-12-01 10:10:25 -0500 |
commit | 1f09287c667d3a7d10ab9c5c96037fe48899490d (patch) | |
tree | d852d44a90e2b7c0ae0b42340259aa85d3727a58 /src | |
parent | 7230187b1d8bf39da5f1502e4c9eeb8e72dccdff (diff) |
Make accessing mempool parents and children public
Diffstat (limited to 'src')
-rw-r--r-- | src/txmempool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/txmempool.h b/src/txmempool.h index deeb2f7b62..5652969f4b 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -375,6 +375,8 @@ public: }; typedef std::set<txiter, CompareIteratorByHash> setEntries; + const setEntries & GetMemPoolParents(txiter entry) const; + const setEntries & GetMemPoolChildren(txiter entry) const; private: typedef std::map<txiter, setEntries, CompareIteratorByHash> cacheMap; @@ -386,8 +388,6 @@ private: typedef std::map<txiter, TxLinks, CompareIteratorByHash> txlinksMap; txlinksMap mapLinks; - const setEntries & GetMemPoolParents(txiter entry) const; - const setEntries & GetMemPoolChildren(txiter entry) const; void UpdateParent(txiter entry, txiter parent, bool add); void UpdateChild(txiter entry, txiter child, bool add); |