Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

BaseSignatureCreator Class Referenceabstract

Virtual base class for signature creators. More...

#include <sign.h>

+ Inheritance diagram for BaseSignatureCreator:
+ Collaboration diagram for BaseSignatureCreator:

Public Member Functions

 BaseSignatureCreator (const CKeyStore *keystoreIn)
 
const CKeyStoreKeyStore () const
 
virtual ~BaseSignatureCreator ()
 
virtual const BaseSignatureCheckerChecker () const =0
 
virtual bool CreateSig (std::vector< unsigned char > &vchSig, const CKeyID &keyid, const CScript &scriptCode, SigVersion sigversion) const =0
 Create a singular (non-script) signature. More...
 

Protected Attributes

const CKeyStorekeystore
 

Detailed Description

Virtual base class for signature creators.

Definition at line 19 of file sign.h.

Constructor & Destructor Documentation

◆ BaseSignatureCreator()

BaseSignatureCreator::BaseSignatureCreator ( const CKeyStore keystoreIn)
inlineexplicit

Definition at line 24 of file sign.h.

◆ ~BaseSignatureCreator()

virtual BaseSignatureCreator::~BaseSignatureCreator ( )
inlinevirtual

Definition at line 26 of file sign.h.

Member Function Documentation

◆ Checker()

virtual const BaseSignatureChecker& BaseSignatureCreator::Checker ( ) const
pure virtual

◆ CreateSig()

virtual bool BaseSignatureCreator::CreateSig ( std::vector< unsigned char > &  vchSig,
const CKeyID keyid,
const CScript scriptCode,
SigVersion  sigversion 
) const
pure virtual

Create a singular (non-script) signature.

Implemented in DummySignatureCreator, and TransactionSignatureCreator.

Referenced by Sign1().

◆ KeyStore()

const CKeyStore& BaseSignatureCreator::KeyStore ( ) const
inline

Definition at line 25 of file sign.h.

References keystore.

Referenced by SignStep().

Member Data Documentation

◆ keystore

const CKeyStore* BaseSignatureCreator::keystore
protected

Definition at line 21 of file sign.h.

Referenced by TransactionSignatureCreator::CreateSig(), and KeyStore().


The documentation for this class was generated from the following file:
Released under the MIT license