mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
Comment clarifications in coins.cpp
This commit is contained in:
parent
3c8a9aefff
commit
21d4afa12f
@ -297,6 +297,9 @@ private:
|
|||||||
void AddCoins(CCoinsViewCache& cache, const CTransaction& tx, int nHeight);
|
void AddCoins(CCoinsViewCache& cache, const CTransaction& tx, int nHeight);
|
||||||
|
|
||||||
//! Utility function to find any unspent output with a given txid.
|
//! Utility function to find any unspent output with a given txid.
|
||||||
|
// This function can be quite expensive because in the event of a transaction
|
||||||
|
// which is not found in the cache, it can cause up to MAX_OUTPUTS_PER_BLOCK
|
||||||
|
// lookups to database, so it should be used with care.
|
||||||
const Coin& AccessByTxid(const CCoinsViewCache& cache, const uint256& txid);
|
const Coin& AccessByTxid(const CCoinsViewCache& cache, const uint256& txid);
|
||||||
|
|
||||||
#endif // BITCOIN_COINS_H
|
#endif // BITCOIN_COINS_H
|
||||||
|
Loading…
Reference in New Issue
Block a user