verify_signature
function verify_signature(data_hash: byte_array, pubkey: byte_array, signature: byte_array): boolean
Verifies a signature against a message and public key.
Return
true if the signature is valid, indicating that the message was indeed signed by the owner of the private key corresponding to the provided public key.
Since
0.10.6
Parameters
data_hash
The byte array representing the message that was signed.
pubkey
The public key to verify the signature against.
signature
The 64-byte signature to verify.
See also
`get_signature()`
get_signature()