Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
ccoins_caching.cpp
Go to the documentation of this file.
Definition: script.h:165
void AddCoins(CCoinsViewCache &cache, const CTransaction &tx, int nHeight, bool check)
Utility function to add all of a transaction's outputs to a cache.
Definition: coins.cpp:87
bool AreInputsStandard(const CTransaction &tx, const CCoinsViewCache &mapInputs)
Check transaction inputs to mitigate two potential denial-of-service attacks:
Definition: policy.cpp:142
BENCHMARK(CCoinsCaching)
static std::vector< CMutableTransaction > SetupDummyInputs(CBasicKeyStore &keystoreRet, CCoinsViewCache &coinsRet)
Definition: ccoins_caching.cpp:20
Definition: script.h:58
void MakeNewKey(bool fCompressed)
Generate a new private key using a cryptographic PRNG.
Definition: key.cpp:158
CScript GetScriptForDestination(const CTxDestination &dest)
Generate a Bitcoin scriptPubKey for the given CTxDestination.
Definition: standard.cpp:256
CAmount GetValueIn(const CTransaction &tx) const
Amount of dash coming in to a transaction Note that lightweight clients may not know anything besides...
Definition: coins.cpp:223
Definition: bench.h:50
CCoinsView that adds a memory cache for transactions to another CCoinsView.
Definition: coins.h:201