Bitcoin Core  0.20.99
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
LegacySigningProvider Class Reference

Wraps a LegacyScriptPubKeyMan so that it can be returned in a new unique_ptr. More...

#include <scriptpubkeyman.h>

Inheritance diagram for LegacySigningProvider:
[legend]
Collaboration diagram for LegacySigningProvider:
[legend]

Public Member Functions

 LegacySigningProvider (const LegacyScriptPubKeyMan &spk_man)
 
bool GetCScript (const CScriptID &scriptid, CScript &script) const override
 
bool HaveCScript (const CScriptID &scriptid) const override
 
bool GetPubKey (const CKeyID &address, CPubKey &pubkey) const override
 
bool GetKey (const CKeyID &address, CKey &key) const override
 
bool HaveKey (const CKeyID &address) const override
 
bool GetKeyOrigin (const CKeyID &keyid, KeyOriginInfo &info) const override
 
- Public Member Functions inherited from SigningProvider
virtual ~SigningProvider ()
 

Private Attributes

const LegacyScriptPubKeyManm_spk_man
 

Detailed Description

Wraps a LegacyScriptPubKeyMan so that it can be returned in a new unique_ptr.

Does not provide privkeys

Definition at line 501 of file scriptpubkeyman.h.

Constructor & Destructor Documentation

◆ LegacySigningProvider()

LegacySigningProvider::LegacySigningProvider ( const LegacyScriptPubKeyMan spk_man)
inline

Definition at line 506 of file scriptpubkeyman.h.

Member Function Documentation

◆ GetCScript()

bool LegacySigningProvider::GetCScript ( const CScriptID scriptid,
CScript script 
) const
inlineoverridevirtual

Reimplemented from SigningProvider.

Definition at line 508 of file scriptpubkeyman.h.

Here is the call graph for this function:

◆ GetKey()

bool LegacySigningProvider::GetKey ( const CKeyID address,
CKey key 
) const
inlineoverridevirtual

Reimplemented from SigningProvider.

Definition at line 511 of file scriptpubkeyman.h.

◆ GetKeyOrigin()

bool LegacySigningProvider::GetKeyOrigin ( const CKeyID keyid,
KeyOriginInfo info 
) const
inlineoverridevirtual

Reimplemented from SigningProvider.

Definition at line 513 of file scriptpubkeyman.h.

Here is the call graph for this function:

◆ GetPubKey()

bool LegacySigningProvider::GetPubKey ( const CKeyID address,
CPubKey pubkey 
) const
inlineoverridevirtual

Reimplemented from SigningProvider.

Definition at line 510 of file scriptpubkeyman.h.

Here is the call graph for this function:

◆ HaveCScript()

bool LegacySigningProvider::HaveCScript ( const CScriptID scriptid) const
inlineoverridevirtual

Reimplemented from SigningProvider.

Definition at line 509 of file scriptpubkeyman.h.

Here is the call graph for this function:

◆ HaveKey()

bool LegacySigningProvider::HaveKey ( const CKeyID address) const
inlineoverridevirtual

Reimplemented from SigningProvider.

Definition at line 512 of file scriptpubkeyman.h.

Member Data Documentation

◆ m_spk_man

const LegacyScriptPubKeyMan& LegacySigningProvider::m_spk_man
private

Definition at line 504 of file scriptpubkeyman.h.


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