Bitcoin ABC  0.26.3
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
MutableTransactionSignatureCreator Class Reference

A signature creator for transactions. More...

#include <sign.h>

Inheritance diagram for MutableTransactionSignatureCreator:
Collaboration diagram for MutableTransactionSignatureCreator:

Public Member Functions

 MutableTransactionSignatureCreator (const CMutableTransaction *txToIn, unsigned int nInIn, const Amount &amountIn, SigHashType sigHashTypeIn=SigHashType())
const BaseSignatureCheckerChecker () const override
bool CreateSig (const SigningProvider &provider, std::vector< uint8_t > &vchSig, const CKeyID &keyid, const CScript &scriptCode) const override
 Create a singular (non-script) signature. More...
- Public Member Functions inherited from BaseSignatureCreator
virtual ~BaseSignatureCreator ()

Private Attributes

const CMutableTransactiontxTo
unsigned int nIn
Amount amount
SigHashType sigHashType
const MutableTransactionSignatureChecker checker

Detailed Description

A signature creator for transactions.

Definition at line 38 of file sign.h.

Constructor & Destructor Documentation

◆ MutableTransactionSignatureCreator()

MutableTransactionSignatureCreator::MutableTransactionSignatureCreator ( const CMutableTransaction txToIn,
unsigned int  nInIn,
const Amount amountIn,
SigHashType  sigHashTypeIn = SigHashType() 

Definition at line 18 of file sign.cpp.

Member Function Documentation

◆ Checker()

const BaseSignatureChecker& MutableTransactionSignatureCreator::Checker ( ) const

Implements BaseSignatureCreator.

Definition at line 49 of file sign.h.

◆ CreateSig()

bool MutableTransactionSignatureCreator::CreateSig ( const SigningProvider provider,
std::vector< uint8_t > &  vchSig,
const CKeyID keyid,
const CScript scriptCode 
) const

Create a singular (non-script) signature.

Implements BaseSignatureCreator.

Definition at line 24 of file sign.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ amount

Amount MutableTransactionSignatureCreator::amount

Definition at line 41 of file sign.h.

◆ checker

const MutableTransactionSignatureChecker MutableTransactionSignatureCreator::checker

Definition at line 43 of file sign.h.

◆ nIn

unsigned int MutableTransactionSignatureCreator::nIn

Definition at line 40 of file sign.h.

◆ sigHashType

SigHashType MutableTransactionSignatureCreator::sigHashType

Definition at line 42 of file sign.h.

◆ txTo

const CMutableTransaction* MutableTransactionSignatureCreator::txTo

Definition at line 39 of file sign.h.

The documentation for this class was generated from the following files: