aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCryptAxe <cryptaxe@gmail.com>2017-02-14 23:00:04 -0800
committerWladimir J. van der Laan <laanwj@gmail.com>2017-02-16 13:52:38 +0100
commit00e623d0b8cd1c261a2671aa8ab221a0474bc7c8 (patch)
tree09484354eb8b5cb3c4ac573189bdd38db4a1b43c /src
parenta441db01b527431a3d7ba169f1afd9c3bc04748f (diff)
[Trivial] Update comments referencing main.cpp
Diffstat (limited to 'src')
-rw-r--r--src/test/DoS_tests.cpp2
-rw-r--r--src/txmempool.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/DoS_tests.cpp b/src/test/DoS_tests.cpp
index a8f09ba6ae..c62e6ae838 100644
--- a/src/test/DoS_tests.cpp
+++ b/src/test/DoS_tests.cpp
@@ -23,7 +23,7 @@
#include <boost/foreach.hpp>
#include <boost/test/unit_test.hpp>
-// Tests this internal-to-main.cpp method:
+// Tests these internal-to-net_processing.cpp methods:
extern bool AddOrphanTx(const CTransactionRef& tx, NodeId peer);
extern void EraseOrphansFor(NodeId peer);
extern unsigned int LimitOrphanTxSize(unsigned int nMaxOrphans);
diff --git a/src/txmempool.cpp b/src/txmempool.cpp
index 236527a2ba..5842dd88d8 100644
--- a/src/txmempool.cpp
+++ b/src/txmempool.cpp
@@ -395,7 +395,7 @@ bool CTxMemPool::addUnchecked(const uint256& hash, const CTxMemPoolEntry &entry,
{
NotifyEntryAdded(entry.GetSharedTx());
// Add to memory pool without checking anything.
- // Used by main.cpp AcceptToMemoryPool(), which DOES do
+ // Used by AcceptToMemoryPool(), which DOES do
// all the appropriate checks.
LOCK(cs);
indexed_transaction_set::iterator newit = mapTx.insert(entry).first;