Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
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 625 of file scriptpubkeyman.h.

Constructor & Destructor Documentation

◆ LegacySigningProvider()

LegacySigningProvider::LegacySigningProvider ( const LegacyScriptPubKeyMan spk_man)
inlineexplicit

Definition at line 630 of file scriptpubkeyman.h.

Member Function Documentation

◆ GetCScript()

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

Reimplemented from SigningProvider.

Definition at line 633 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 642 of file scriptpubkeyman.h.

◆ GetKeyOrigin()

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

Reimplemented from SigningProvider.

Definition at line 646 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 639 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 636 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 645 of file scriptpubkeyman.h.

Member Data Documentation

◆ m_spk_man

const LegacyScriptPubKeyMan& LegacySigningProvider::m_spk_man
private

Definition at line 627 of file scriptpubkeyman.h.


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