MCPcopy Create free account
hub / github.com/ElementsProject/elements / Store

Method Store

src/script/interpreter.cpp:2853–2857  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2851}
2852
2853void SigHashCache::Store(int32_t hash_type, const CScript& script_code, const CHashWriter& writer) noexcept
2854{
2855 auto& entry = m_cache_entries[CacheIndex(hash_type)];
2856 entry.emplace(script_code, writer);
2857}
2858
2859template <class T>
2860uint256 SignatureHash(const CScript& scriptCode, const T& txTo, unsigned int nIn, int nHashType, const CConfidentialValue& amount, SigVersion sigversion, unsigned int flags, const PrecomputedTransactionData* cache, SigHashCache* sighash_cache)

Callers 2

SignatureHashFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80

Calls

no outgoing calls

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64