Skip to content

Commit 52819ca

Browse files
laanwjcodablock
authored andcommitted
Merge bitcoin#9763: [Trivial] Update comments referencing main.cpp
00e623d [Trivial] Update comments referencing main.cpp (CryptAxe)
1 parent bb2c162 commit 52819ca

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
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/governance.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ class CGovernanceManager
293293
virtual ~CGovernanceManager() {}
294294

295295
/**
296-
* This is called by AlreadyHave in main.cpp as part of the inventory
296+
* This is called by AlreadyHave in net_processing.cpp as part of the inventory
297297
* retrieval process. Returns true if we want to retrieve the object, otherwise
298298
* false. (Note logic is inverted in AlreadyHave).
299299
*/

src/instantx.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ void CInstantSend::ProcessMessage(CNode* pfrom, const std::string& strCommand, C
5252
if(fLiteMode) return; // disable all Dash specific functionality
5353
if(!sporkManager.IsSporkActive(SPORK_2_INSTANTSEND_ENABLED)) return;
5454

55-
// NOTE: NetMsgType::TXLOCKREQUEST is handled via ProcessMessage() in main.cpp
55+
// NOTE: NetMsgType::TXLOCKREQUEST is handled via ProcessMessage() in net_processing.cpp
5656

5757
if (strCommand == NetMsgType::TXLOCKVOTE) // InstantSend Transaction Lock Consensus Votes
5858
{

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
@@ -385,7 +385,7 @@ bool CTxMemPool::addUnchecked(const uint256& hash, const CTxMemPoolEntry &entry,
385385
{
386386
NotifyEntryAdded(entry.GetSharedTx());
387387
// Add to memory pool without checking anything.
388-
// Used by main.cpp AcceptToMemoryPool(), which DOES do
388+
// Used by AcceptToMemoryPool(), which DOES do
389389
// all the appropriate checks.
390390
LOCK(cs);
391391
indexed_transaction_set::iterator newit = mapTx.insert(entry).first;

0 commit comments

Comments
 (0)