SighashToStr

Convert a signature-hash type byte into its textual name.

Synopsis

Declared in <core_io.h>

std::string
SighashToStr(unsigned char sighash_type);

Return Value

The human-readable name of the signature-hash type.

Parameters

NameDescription
sighash_typeNumeric signature-hash type.