verify_taproot_signature
Verify a BIP-340 Schnorr signature for Taproot
Arguments
signature- The Schnorr signature (64 bytes: r || s)message- The message that was signedpublic_key- The tweaked public key (x-coordinate only)
Returns
bool- True if signature is valid
Fully qualified path: alexandria_btc::taproot::verify_taproot_signature
pub fn verify_taproot_signature(signature: Span<u8>, message: ByteArray, public_key: u256) -> bool