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

Function HandleMissingData

src/script/interpreter.cpp:2700–2710  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2698 , m_tapsighash_hasher(CHashWriter(HASHER_TAPSIGHASH_ELEMENTS) << hash_genesis_block << hash_genesis_block) {}
2699
2700static bool HandleMissingData(MissingDataBehavior mdb)
2701{
2702 switch (mdb) {
2703 case MissingDataBehavior::ASSERT_FAIL:
2704 assert(!"Missing data");
2705 break;
2706 case MissingDataBehavior::FAIL:
2707 return false;
2708 }
2709 assert(!"Unknown MissingDataBehavior value");
2710}
2711
2712template<typename T>
2713bool SignatureHashSchnorr(uint256& hash_out, ScriptExecutionData& execdata, const T& tx_to, uint32_t in_pos, uint8_t hash_type, SigVersion sigversion, const PrecomputedTransactionData& cache, MissingDataBehavior mdb)

Callers 3

SignatureHashSchnorrFunction · 0.85
CheckECDSASignatureMethod · 0.85
CheckSchnorrSignatureMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected