| 1478 | const HashWriter HASHER_TAPBRANCH{TaggedHash("TapBranch")}; |
| 1479 | |
| 1480 | static bool HandleMissingData(MissingDataBehavior mdb) |
| 1481 | { |
| 1482 | switch (mdb) { |
| 1483 | case MissingDataBehavior::ASSERT_FAIL: |
| 1484 | assert(!"Missing data"); |
| 1485 | break; |
| 1486 | case MissingDataBehavior::FAIL: |
| 1487 | return false; |
| 1488 | } |
| 1489 | assert(!"Unknown MissingDataBehavior value"); |
| 1490 | } |
| 1491 | |
| 1492 | template<typename T> |
| 1493 | bool 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) |
no outgoing calls
no test coverage detected