![]() |
Bitcoin ABC 0.32.4
P2P Digital Currency
|
#include <script/script_error.h>#include <script/sighashtype.h>#include <cstdint>#include <vector>Go to the source code of this file.
Typedefs | |
| typedef std::vector< uint8_t > | valtype |
Functions | |
| bool | CheckDataSignatureEncoding (const valtype &vchSig, uint32_t flags, ScriptError *serror) |
| Check that the signature provided on some data is properly encoded. More... | |
| bool | CheckTransactionSignatureEncoding (const valtype &vchSig, uint32_t flags, ScriptError *serror) |
| Check that the signature provided to authentify a transaction is properly encoded. More... | |
| bool | CheckTransactionECDSASignatureEncoding (const valtype &vchSig, uint32_t flags, ScriptError *serror) |
| Check that the signature provided to authentify a transaction is properly encoded ECDSA signature. More... | |
| bool | CheckTransactionSchnorrSignatureEncoding (const valtype &vchSig, uint32_t flags, ScriptError *serror) |
| Check that the signature provided to authentify a transaction is properly encoded Schnorr signature (or null). More... | |
| bool | CheckPubKeyEncoding (const valtype &vchPubKey, uint32_t flags, ScriptError *serror) |
| Check that a public key is encoded properly. More... | |
| typedef std::vector<uint8_t> valtype |
Definition at line 16 of file sigencoding.h.
| bool CheckDataSignatureEncoding | ( | const valtype & | vchSig, |
| uint32_t | flags, | ||
| ScriptError * | serror | ||
| ) |
Check that the signature provided on some data is properly encoded.
Signatures passed to OP_CHECKDATASIG and its verify variant must be checked using this function.
Definition at line 202 of file sigencoding.cpp.
| bool CheckPubKeyEncoding | ( | const valtype & | vchPubKey, |
| uint32_t | flags, | ||
| ScriptError * | serror | ||
| ) |
Check that a public key is encoded properly.
Definition at line 305 of file sigencoding.cpp.
| bool CheckTransactionECDSASignatureEncoding | ( | const valtype & | vchSig, |
| uint32_t | flags, | ||
| ScriptError * | serror | ||
| ) |
Check that the signature provided to authentify a transaction is properly encoded ECDSA signature.
Signatures passed to OP_CHECKMULTISIG and its verify variant must be checked using this function.
Definition at line 265 of file sigencoding.cpp.
| bool CheckTransactionSchnorrSignatureEncoding | ( | const valtype & | vchSig, |
| uint32_t | flags, | ||
| ScriptError * | serror | ||
| ) |
Check that the signature provided to authentify a transaction is properly encoded Schnorr signature (or null).
Signatures passed to the new-mode OP_CHECKMULTISIG and its verify variant must be checked using this function.
Definition at line 277 of file sigencoding.cpp.
| bool CheckTransactionSignatureEncoding | ( | const valtype & | vchSig, |
| uint32_t | flags, | ||
| ScriptError * | serror | ||
| ) |
Check that the signature provided to authentify a transaction is properly encoded.
Signatures passed to OP_CHECKSIG and its verify variant must be checked using this function.
Definition at line 254 of file sigencoding.cpp.