Bitcoin Core  0.15.99
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:
[legend]
Collaboration diagram for MutableTransactionSignatureCreator:
[legend]

Public Member Functions

 MutableTransactionSignatureCreator (const CMutableTransaction *txToIn, unsigned int nInIn, const CAmount &amountIn, int nHashTypeIn=SIGHASH_ALL)
 
const BaseSignatureCheckerChecker () 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...
 
- Public Member Functions inherited from BaseSignatureCreator
virtual ~BaseSignatureCreator ()
 

Private Attributes

const CMutableTransactiontxTo
 
unsigned int nIn
 
int nHashType
 
CAmount amount
 
const MutableTransactionSignatureChecker checker
 

Detailed Description

A signature creator for transactions.

Definition at line 57 of file sign.h.

Constructor & Destructor Documentation

MutableTransactionSignatureCreator::MutableTransactionSignatureCreator ( const CMutableTransaction txToIn,
unsigned int  nInIn,
const CAmount amountIn,
int  nHashTypeIn = SIGHASH_ALL 
)

Definition at line 17 of file sign.cpp.

Member Function Documentation

const BaseSignatureChecker& MutableTransactionSignatureCreator::Checker ( ) const
inlineoverridevirtual

Implements BaseSignatureCreator.

Definition at line 66 of file sign.h.

Here is the caller graph for this function:

bool MutableTransactionSignatureCreator::CreateSig ( const SigningProvider provider,
std::vector< unsigned char > &  vchSig,
const CKeyID keyid,
const CScript scriptCode,
SigVersion  sigversion 
) const
overridevirtual

Create a singular (non-script) signature.

Implements BaseSignatureCreator.

Definition at line 19 of file sign.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

CAmount MutableTransactionSignatureCreator::amount
private

Definition at line 61 of file sign.h.

const MutableTransactionSignatureChecker MutableTransactionSignatureCreator::checker
private

Definition at line 62 of file sign.h.

int MutableTransactionSignatureCreator::nHashType
private

Definition at line 60 of file sign.h.

unsigned int MutableTransactionSignatureCreator::nIn
private

Definition at line 59 of file sign.h.

const CMutableTransaction* MutableTransactionSignatureCreator::txTo
private

Definition at line 58 of file sign.h.


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