Skip to content

Commit 135ab95

Browse files
committed
Merge "anyprevout and anyprevoutanyscript unit tests"
2 parents c9635a5 + f50d309 commit 135ab95

File tree

2 files changed

+386
-0
lines changed

2 files changed

+386
-0
lines changed

src/script/interpreter.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,9 @@ static constexpr size_t TAPROOT_CONTROL_MAX_SIZE = TAPROOT_CONTROL_BASE_SIZE + T
241241
template <class T>
242242
uint256 SignatureHash(const CScript& scriptCode, const T& txTo, unsigned int nIn, int nHashType, const CAmount& amount, SigVersion sigversion, const PrecomputedTransactionData* cache = nullptr);
243243

244+
template<typename T>
245+
bool SignatureHashSchnorr(uint256& hash_out, const ScriptExecutionData& execdata, const T& tx_to, uint32_t in_pos, uint8_t hash_type, SigVersion sigversion, const KeyVersion keyversion, const PrecomputedTransactionData& cache);
246+
244247
class BaseSignatureChecker
245248
{
246249
public:

0 commit comments

Comments
 (0)