The BIP 341 signature message for Taproot spends is computed in Bitcoin Core by SignatureHashSchnorr in src/script/interpreter.cpp, which hashes it with the BIP 340 tagged hash "TapSighash".
Sources and checks
T1Bitcoin Core src/script/interpreter.cpp, SignatureHashSchnorrSource code, says this directly
bool SignatureHashSchnorr(uint256& hash_out, ScriptExecutionData& execdata, const T& tx_to, uint32_t in_pos,
SignatureHashSchnorr, read 2026-11-20
T1Bitcoin Core src/script/interpreter.cpp, tagged hash writersSource code, says this directly
const HashWriter HASHER_TAPSIGHASH{TaggedHash("TapSighash")};
HASHER_TAPSIGHASH, read 2026-11-20
bitcoin/bitcoin at f498a5a671 contains this text in src/script/interpreter.cpp, and still does on the default branch.
Run it yourself
git clone https://github.com/bitcoin/bitcoin && git -C bitcoin show f498a5a6718d9157b6afb85412c3462439117702:src/script/interpreter.cpp | grep -nF 'bool SignatureHashSchnorr(uint256& hash_out, ScriptExecutionData& execdata, const T& tx_to, uint32_t in_pos,'bitcoin/bitcoin at f498a5a671 contains this text in src/script/interpreter.cpp, and still does on the default branch.
Run it yourself
git clone https://github.com/bitcoin/bitcoin && git -C bitcoin show f498a5a6718d9157b6afb85412c3462439117702:src/script/interpreter.cpp | grep -nF 'const HashWriter HASHER_TAPSIGHASH{TaggedHash("TapSighash")};'Checked at block 976,759, 20 Nov 2026, 17:27 UTC: quotes 2/2, code 2/2
History
Nothing is edited silently; every revision keeps what it replaced.
- 20 Nov 2026, 17:27 UTCblock 976,759
Published Revision 1, run 2026-11-20-seed-taproot