Skip to content

Commit 3b0078f

Browse files
committed
doc: fixup -Wdocumentation issues
1 parent c6edcf1 commit 3b0078f

File tree

7 files changed

+6
-8
lines changed

7 files changed

+6
-8
lines changed

src/net_processing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2062,7 +2062,7 @@ void PeerManagerImpl::ProcessHeadersMessage(CNode& pfrom, const Peer& peer,
20622062
/**
20632063
* Reconsider orphan transactions after a parent has been accepted to the mempool.
20642064
*
2065-
* @param[in/out] orphan_work_set The set of orphan transactions to reconsider. Generally only one
2065+
* @param[in,out] orphan_work_set The set of orphan transactions to reconsider. Generally only one
20662066
* orphan will be reconsidered on each call of this function. This set
20672067
* may be added to if accepting an orphan causes its children to be
20682068
* reconsidered.

src/netbase.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ CService LookupNumeric(const std::string& name, uint16_t portDefault = 0, DNSLoo
172172
* @param strSubnet A string representation of a subnet of the form `network
173173
* address [ "/", ( CIDR-style suffix | netmask ) ]`(e.g.
174174
* `2001:db8::/32`, `192.0.2.0/255.255.255.0`, or `8.8.8.8`).
175-
* @param ret The resulting internal representation of a subnet.
176175
*
177176
* @returns Whether the operation succeeded or not.
178177
*/
@@ -235,7 +234,7 @@ void InterruptSocks5(bool interrupt);
235234
* @param port The destination port.
236235
* @param auth The credentials with which to authenticate with the specified
237236
* SOCKS5 proxy.
238-
* @param sock The SOCKS5 proxy socket.
237+
* @param socket The SOCKS5 proxy socket.
239238
*
240239
* @returns Whether or not the operation succeeded.
241240
*

src/policy/feerate.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ class CFeeRate
4747
*
4848
* @param[in] nFeePaid CAmount fee rate to construct with
4949
* @param[in] nBytes size_t bytes (units) to construct with
50-
* @returns fee rate
5150
*/
5251
CFeeRate(const CAmount& nFeePaid, size_t nBytes);
5352
/**

src/util/sock.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class Sock
161161

162162
/**
163163
* Check if still connected.
164-
* @param[out] err The error string, if the socket has been disconnected.
164+
* @param[out] errmsg The error string, if the socket has been disconnected.
165165
* @return true if connected
166166
*/
167167
virtual bool IsConnected(std::string& errmsg) const;

src/validation.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,7 @@ inline bool IsBlockPruned(const CBlockIndex* pblockindex)
10291029
/**
10301030
* Return the expected assumeutxo value for a given height, if one exists.
10311031
*
1032-
* @param height[in] Get the assumeutxo value for this height.
1032+
* @param[in] height Get the assumeutxo value for this height.
10331033
*
10341034
* @returns empty if no assumeutxo configuration exists for the given height.
10351035
*/

src/wallet/rpcwallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1281,7 +1281,7 @@ static void MaybePushAddress(UniValue & entry, const CTxDestination &dest)
12811281
/**
12821282
* List transactions based on the given criteria.
12831283
*
1284-
* @param pwallet The wallet.
1284+
* @param wallet The wallet.
12851285
* @param wtx The wallet transaction.
12861286
* @param nMinDepth The minimum confirmation depth.
12871287
* @param fLong Whether to include the JSON version of the transaction.

src/wallet/scriptpubkeyman.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ bool HaveKeys(const std::vector<valtype>& pubkeys, const LegacyScriptPubKeyMan&
8484
//! Recursively solve script and return spendable/watchonly/invalid status.
8585
//!
8686
//! @param keystore legacy key and script store
87-
//! @param script script to solve
87+
//! @param scriptPubKey script to solve
8888
//! @param sigversion script type (top-level / redeemscript / witnessscript)
8989
//! @param recurse_scripthash whether to recurse into nested p2sh and p2wsh
9090
//! scripts or simply treat any script that has been

0 commit comments

Comments
 (0)