diff options
| author | MarcoFalke <[email protected]> | 2017-01-30 13:13:07 +0100 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2017-01-30 13:13:20 +0100 |
| commit | 668de70be039a4f1ffcf20aeae2a22ee71fc55a8 (patch) | |
| tree | e6baaf60d95d75452af3ebacd57da5479d4a3ebd /src/txmempool.cpp | |
| parent | Merge #9626: Clean up a few CConnman cs_vNodes/CNode things (diff) | |
| parent | Refactor: Remove using namespace <xxx> from src/*.cpp. (diff) | |
| download | discoin-668de70be039a4f1ffcf20aeae2a22ee71fc55a8.tar.xz discoin-668de70be039a4f1ffcf20aeae2a22ee71fc55a8.zip | |
Merge #9644: [refactor] Remove using namespace <xxx> from src/
b7b48c8 Refactor: Remove using namespace <xxx> from src/*.cpp. (Karl-Johan Alm)
Diffstat (limited to 'src/txmempool.cpp')
| -rw-r--r-- | src/txmempool.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp index 54400cacc..a1a37dac7 100644 --- a/src/txmempool.cpp +++ b/src/txmempool.cpp @@ -18,8 +18,6 @@ #include "utiltime.h" #include "version.h" -using namespace std; - CTxMemPoolEntry::CTxMemPoolEntry(const CTransactionRef& _tx, const CAmount& _nFee, int64_t _nTime, double _entryPriority, unsigned int _entryHeight, CAmount _inChainInputValue, @@ -658,7 +656,7 @@ void CTxMemPool::check(const CCoinsViewCache *pcoins) const const int64_t nSpendHeight = GetSpendHeight(mempoolDuplicate); LOCK(cs); - list<const CTxMemPoolEntry*> waitingOnDependants; + std::list<const CTxMemPoolEntry*> waitingOnDependants; for (indexed_transaction_set::const_iterator it = mapTx.begin(); it != mapTx.end(); it++) { unsigned int i = 0; checkTotal += it->GetTxSize(); @@ -816,7 +814,7 @@ std::vector<CTxMemPool::indexed_transaction_set::const_iterator> CTxMemPool::Get return iters; } -void CTxMemPool::queryHashes(vector<uint256>& vtxid) +void CTxMemPool::queryHashes(std::vector<uint256>& vtxid) { LOCK(cs); auto iters = GetSortedDepthAndScore(); @@ -920,7 +918,7 @@ CTxMemPool::ReadFeeEstimates(CAutoFile& filein) return true; } -void CTxMemPool::PrioritiseTransaction(const uint256 hash, const string strHash, double dPriorityDelta, const CAmount& nFeeDelta) +void CTxMemPool::PrioritiseTransaction(const uint256 hash, const std::string strHash, double dPriorityDelta, const CAmount& nFeeDelta) { { LOCK(cs); |