Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
ccoins_caching.cpp File Reference
#include <bench/bench.h>
#include <coins.h>
#include <policy/policy.h>
#include <wallet/crypter.h>
#include <vector>
Include dependency graph for ccoins_caching.cpp:
Go to the source code of this file.
Functions | |
static std::vector< CMutableTransaction > | SetupDummyInputs (CBasicKeyStore &keystoreRet, CCoinsViewCache &coinsRet) |
static void | CCoinsCaching (benchmark::State &state) |
BENCHMARK (CCoinsCaching) | |
Function Documentation
◆ BENCHMARK()
BENCHMARK | ( | CCoinsCaching | ) |
◆ CCoinsCaching()
|
static |
Definition at line 56 of file ccoins_caching.cpp.
References AreInputsStandard(), CENT, CCoinsViewCache::GetValueIn(), benchmark::State::KeepRunning(), OP_1, SetupDummyInputs(), CMutableTransaction::vin, and CMutableTransaction::vout.
◆ SetupDummyInputs()
|
static |
Definition at line 20 of file ccoins_caching.cpp.
References AddCoins(), CKeyStore::AddKey(), CENT, GetScriptForDestination(), CKey::MakeNewKey(), OP_CHECKSIG, and ToByteVector().
Referenced by CCoinsCaching().