Skip to content

Commit 9431e1b

Browse files

File tree

4 files changed

+24
-24
lines changed

4 files changed

+24
-24
lines changed

src/coins.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -298,17 +298,17 @@ class CCoinsViewCache : public CCoinsViewBacked
298298
};
299299

300300
//! Utility function to add all of a transaction's outputs to a cache.
301-
// When check is false, this assumes that overwrites are only possible for coinbase transactions.
302-
// When check is true, the underlying view may be queried to determine whether an addition is
303-
// an overwrite.
301+
//! When check is false, this assumes that overwrites are only possible for coinbase transactions.
302+
//! When check is true, the underlying view may be queried to determine whether an addition is
303+
//! an overwrite.
304304
// TODO: pass in a boolean to limit these possible overwrites to known
305305
// (pre-BIP34) cases.
306306
void AddCoins(CCoinsViewCache& cache, const CTransaction& tx, int nHeight, bool check = false);
307307

308308
//! Utility function to find any unspent output with a given txid.
309-
// This function can be quite expensive because in the event of a transaction
310-
// which is not found in the cache, it can cause up to MAX_OUTPUTS_PER_BLOCK
311-
// lookups to database, so it should be used with care.
309+
//! This function can be quite expensive because in the event of a transaction
310+
//! which is not found in the cache, it can cause up to MAX_OUTPUTS_PER_BLOCK
311+
//! lookups to database, so it should be used with care.
312312
const Coin& AccessByTxid(const CCoinsViewCache& cache, const uint256& txid);
313313

314314
#endif // BITCOIN_COINS_H

src/net.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -273,17 +273,17 @@ class CConnman
273273
void SetMaxOutboundTimeframe(uint64_t timeframe);
274274
uint64_t GetMaxOutboundTimeframe();
275275

276-
//!check if the outbound target is reached
277-
// if param historicalBlockServingLimit is set true, the function will
278-
// response true if the limit for serving historical blocks has been reached
276+
//! check if the outbound target is reached
277+
//! if param historicalBlockServingLimit is set true, the function will
278+
//! response true if the limit for serving historical blocks has been reached
279279
bool OutboundTargetReached(bool historicalBlockServingLimit);
280280

281-
//!response the bytes left in the current max outbound cycle
282-
// in case of no limit, it will always response 0
281+
//! response the bytes left in the current max outbound cycle
282+
//! in case of no limit, it will always response 0
283283
uint64_t GetOutboundTargetBytesLeft();
284284

285-
//!response the time in second left in the current max outbound cycle
286-
// in case of no limit, it will always response 0
285+
//! response the time in second left in the current max outbound cycle
286+
//! in case of no limit, it will always response 0
287287
uint64_t GetMaxOutboundTimeLeftInCycle();
288288

289289
uint64_t GetTotalBytesRecv();

src/wallet/rpcdump.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -849,9 +849,9 @@ struct ImportData
849849

850850
enum class ScriptContext
851851
{
852-
TOP, //! Top-level scriptPubKey
853-
P2SH, //! P2SH redeemScript
854-
WITNESS_V0, //! P2WSH witnessScript
852+
TOP, //!< Top-level scriptPubKey
853+
P2SH, //!< P2SH redeemScript
854+
WITNESS_V0, //!< P2WSH witnessScript
855855
};
856856

857857
// Analyse the provided scriptPubKey, determining which keys and which redeem scripts from the ImportData struct are needed to spend it, and mark them as used.

src/wallet/wallet.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
#include <vector>
3636

3737
//! Responsible for reading and validating the -wallet arguments and verifying the wallet database.
38-
// This function will perform salvage on the wallet if requested, as long as only one wallet is
39-
// being loaded (WalletParameterInteraction forbids -salvagewallet, -zapwallettxes or -upgradewallet with multiwallet).
38+
//! This function will perform salvage on the wallet if requested, as long as only one wallet is
39+
//! being loaded (WalletParameterInteraction forbids -salvagewallet, -zapwallettxes or -upgradewallet with multiwallet).
4040
bool VerifyWallets(interfaces::Chain& chain, const std::vector<std::string>& wallet_files);
4141

4242
//! Load wallet databases.
@@ -55,10 +55,10 @@ void StopWallets();
5555
void UnloadWallets();
5656

5757
//! Explicitly unload and delete the wallet.
58-
// Blocks the current thread after signaling the unload intent so that all
59-
// wallet clients release the wallet.
60-
// Note that, when blocking is not required, the wallet is implicitly unloaded
61-
// by the shared pointer deleter.
58+
//! Blocks the current thread after signaling the unload intent so that all
59+
//! wallet clients release the wallet.
60+
//! Note that, when blocking is not required, the wallet is implicitly unloaded
61+
//! by the shared pointer deleter.
6262
void UnloadWallet(std::shared_ptr<CWallet>&& wallet);
6363

6464
bool AddWallet(const std::shared_ptr<CWallet>& wallet);
@@ -588,8 +588,8 @@ class CWalletKey
588588
int64_t nTimeCreated;
589589
int64_t nTimeExpires;
590590
std::string strComment;
591-
//! todo: add something to note what created it (user, getnewaddress, change)
592-
//! maybe should have a map<string, string> property map
591+
// todo: add something to note what created it (user, getnewaddress, change)
592+
// maybe should have a map<string, string> property map
593593

594594
explicit CWalletKey(int64_t nExpires=0);
595595

0 commit comments

Comments
 (0)