Skip to content

Commit 8743320

Browse files
committed
Merge #9763: [Trivial] Update comments referencing main.cpp
00e623d [Trivial] Update comments referencing main.cpp (CryptAxe)
2 parents e43a585 + 00e623d commit 8743320

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ fixes or code moves with actual code changes.
3838
Commit messages should be verbose by default consisting of a short subject line
3939
(50 chars max), a blank line and detailed explanatory text as separate
4040
paragraph(s); unless the title alone is self-explanatory (like "Corrected typo
41-
in main.cpp") then a single title line is sufficient. Commit messages should be
41+
in init.cpp") then a single title line is sufficient. Commit messages should be
4242
helpful to people reading your code in the future, so explain the reasoning for
4343
your decisions. Further explanation [here](http://chris.beams.io/posts/git-commit/).
4444

@@ -79,7 +79,7 @@ Examples:
7979
Consensus: Add new opcode for BIP-XXXX OP_CHECKAWESOMESIG
8080
Net: Automatically create hidden service, listen on Tor
8181
Qt: Add feed bump button
82-
Trivial: Fix typo in main.cpp
82+
Trivial: Fix typo in init.cpp
8383

8484
If a pull request is specifically not to be considered for merging (yet) please
8585
prefix the title with [WIP] or use [Tasks Lists](https://help.github.com/articles/basic-writing-and-formatting-syntax/#task-lists)

src/test/DoS_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include <boost/foreach.hpp>
2424
#include <boost/test/unit_test.hpp>
2525

26-
// Tests this internal-to-main.cpp method:
26+
// Tests these internal-to-net_processing.cpp methods:
2727
extern bool AddOrphanTx(const CTransactionRef& tx, NodeId peer);
2828
extern void EraseOrphansFor(NodeId peer);
2929
extern unsigned int LimitOrphanTxSize(unsigned int nMaxOrphans);

src/txmempool.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ bool CTxMemPool::addUnchecked(const uint256& hash, const CTxMemPoolEntry &entry,
395395
{
396396
NotifyEntryAdded(entry.GetSharedTx());
397397
// Add to memory pool without checking anything.
398-
// Used by main.cpp AcceptToMemoryPool(), which DOES do
398+
// Used by AcceptToMemoryPool(), which DOES do
399399
// all the appropriate checks.
400400
LOCK(cs);
401401
indexed_transaction_set::iterator newit = mapTx.insert(entry).first;

0 commit comments

Comments
 (0)