Skip to content

Commit 86f7d5b

Browse files
committed
Merge #10029: Fix parameter naming inconsistencies between .h and .cpp files
97b8213 Fix parameter naming inconsistencies between .h and .cpp files (practicalswift) Tree-SHA512: 4f46cc3973a898d2478bdb1b8c8d1829c3a7298b63bc47359c5dc2f135466773072d9672134ef3e7557dfc913720e49b675176b9e435b8bd1992af9ad53866e4
2 parents 02d64bd + 97b8213 commit 86f7d5b

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

src/core_write.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ std::string ScriptToAsmStr(const CScript& script, const bool fAttemptSighashDeco
114114
return str;
115115
}
116116

117-
std::string EncodeHexTx(const CTransaction& tx, const int serialFlags)
117+
std::string EncodeHexTx(const CTransaction& tx, const int serializeFlags)
118118
{
119-
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION | serialFlags);
119+
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION | serializeFlags);
120120
ssTx << tx;
121121
return HexStr(ssTx.begin(), ssTx.end());
122122
}

src/rpc/server.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ void SetRPCWarmupStatus(const std::string& newStatus);
6868
void SetRPCWarmupFinished();
6969

7070
/* returns the current warmup state. */
71-
bool RPCIsInWarmup(std::string *statusOut);
71+
bool RPCIsInWarmup(std::string *outStatus);
7272

7373
/**
7474
* Type-check arguments; throws JSONRPCError if wrong type given. Does not check that

src/txmempool.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ void CTxMemPool::UpdateForDescendants(txiter updateIt, cacheMap &cachedDescendan
108108

109109
// vHashesToUpdate is the set of transaction hashes from a disconnected block
110110
// which has been re-added to the mempool.
111-
// for each entry, look for descendants that are outside hashesToUpdate, and
111+
// for each entry, look for descendants that are outside vHashesToUpdate, and
112112
// add fee/size information for such descendants to the parent.
113113
// for each such descendant, also update the ancestor state to include the parent.
114114
void CTxMemPool::UpdateTransactionsFromBlock(const std::vector<uint256> &vHashesToUpdate)

src/txmempool.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -552,12 +552,12 @@ class CTxMemPool
552552
* new mempool entries may have children in the mempool (which is generally
553553
* not the case when otherwise adding transactions).
554554
* UpdateTransactionsFromBlock() will find child transactions and update the
555-
* descendant state for each transaction in hashesToUpdate (excluding any
556-
* child transactions present in hashesToUpdate, which are already accounted
557-
* for). Note: hashesToUpdate should be the set of transactions from the
555+
* descendant state for each transaction in vHashesToUpdate (excluding any
556+
* child transactions present in vHashesToUpdate, which are already accounted
557+
* for). Note: vHashesToUpdate should be the set of transactions from the
558558
* disconnected block that have been accepted back into the mempool.
559559
*/
560-
void UpdateTransactionsFromBlock(const std::vector<uint256> &hashesToUpdate);
560+
void UpdateTransactionsFromBlock(const std::vector<uint256> &vHashesToUpdate);
561561

562562
/** Try to calculate all in-mempool ancestors of entry.
563563
* (these are all calculated including the tx itself)

src/validation.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ void FlushStateToDisk();
314314
/** Prune block files and flush state to disk. */
315315
void PruneAndFlush();
316316
/** Prune block files up to a given height */
317-
void PruneBlockFilesManual(int nPruneUpToHeight);
317+
void PruneBlockFilesManual(int nManualPruneHeight);
318318

319319
/** (try to) add transaction to memory pool
320320
* plTxnReplaced will be appended to with all transactions replaced from mempool **/

0 commit comments

Comments
 (0)