Check that a signature uses a valid encoding for the given verification flags.
Declared in <script/interpreter.h>
bool
CheckSignatureEncoding(
std::vector<unsigned char> const& vchSig,
script_verify_flags flags,
ScriptError* serror);
true if the signature encoding is acceptable.
| Name | Description |
|---|---|
| vchSig | The serialized signature to validate. |
| flags | The active script verification flags. |
| serror | Set to the script error when validation fails. |