![]() |
Bitcoin Core 22.99.0
P2P Digital Currency
|
A signature creator for transactions. More...
#include <sign.h>
Public Member Functions | |
| MutableTransactionSignatureCreator (const CMutableTransaction *txToIn, unsigned int nInIn, const CAmount &amountIn, int nHashTypeIn) | |
| MutableTransactionSignatureCreator (const CMutableTransaction *txToIn, unsigned int nInIn, const CAmount &amountIn, const PrecomputedTransactionData *txdata, int nHashTypeIn) | |
| const BaseSignatureChecker & | Checker () const override |
| bool | CreateSig (const SigningProvider &provider, std::vector< unsigned char > &vchSig, const CKeyID &keyid, const CScript &scriptCode, SigVersion sigversion) const override |
| Create a singular (non-script) signature. More... | |
| bool | CreateSchnorrSig (const SigningProvider &provider, std::vector< unsigned char > &sig, const XOnlyPubKey &pubkey, const uint256 *leaf_hash, const uint256 *merkle_root, SigVersion sigversion) const override |
Public Member Functions inherited from BaseSignatureCreator | |
| virtual | ~BaseSignatureCreator () |
Private Attributes | |
| const CMutableTransaction * | txTo |
| unsigned int | nIn |
| int | nHashType |
| CAmount | amount |
| const MutableTransactionSignatureChecker | checker |
| const PrecomputedTransactionData * | m_txdata |
| MutableTransactionSignatureCreator::MutableTransactionSignatureCreator | ( | const CMutableTransaction * | txToIn, |
| unsigned int | nInIn, | ||
| const CAmount & | amountIn, | ||
| int | nHashTypeIn | ||
| ) |
| MutableTransactionSignatureCreator::MutableTransactionSignatureCreator | ( | const CMutableTransaction * | txToIn, |
| unsigned int | nInIn, | ||
| const CAmount & | amountIn, | ||
| const PrecomputedTransactionData * | txdata, | ||
| int | nHashTypeIn | ||
| ) |
|
inlineoverridevirtual |
Implements BaseSignatureCreator.
|
overridevirtual |
Implements BaseSignatureCreator.
Definition at line 59 of file sign.cpp.
|
overridevirtual |
Create a singular (non-script) signature.
Implements BaseSignatureCreator.
Definition at line 34 of file sign.cpp.
|
private |
|
private |
|
private |