doc: Clarify that mempool txiter is const_iterator
This commit is contained in:
parent
6579d80572
commit
faca0a8625
1 changed files with 1 additions and 1 deletions
|
@ -486,7 +486,7 @@ public:
|
||||||
mutable CCriticalSection cs;
|
mutable CCriticalSection cs;
|
||||||
indexed_transaction_set mapTx GUARDED_BY(cs);
|
indexed_transaction_set mapTx GUARDED_BY(cs);
|
||||||
|
|
||||||
typedef indexed_transaction_set::nth_index<0>::type::iterator txiter;
|
using txiter = indexed_transaction_set::nth_index<0>::type::const_iterator;
|
||||||
std::vector<std::pair<uint256, txiter> > vTxHashes; //!< All tx witness hashes/entries in mapTx, in random order
|
std::vector<std::pair<uint256, txiter> > vTxHashes; //!< All tx witness hashes/entries in mapTx, in random order
|
||||||
|
|
||||||
struct CompareIteratorByHash {
|
struct CompareIteratorByHash {
|
||||||
|
|
Loading…
Reference in a new issue