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

#include <signingprovider.h>

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

Public Member Functions

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

Private Attributes

const bool m_hide_secret
 
const bool m_hide_origin
 
const SigningProviderm_provider
 

Detailed Description

Definition at line 41 of file signingprovider.h.

Constructor & Destructor Documentation

◆ HidingSigningProvider()

HidingSigningProvider::HidingSigningProvider ( const SigningProvider provider,
bool  hide_secret,
bool  hide_origin 
)
inline

Definition at line 48 of file signingprovider.h.

Member Function Documentation

◆ GetCScript()

bool HidingSigningProvider::GetCScript ( const CScriptID scriptid,
CScript script 
) const
overridevirtual

Reimplemented from SigningProvider.

Definition at line 25 of file signingprovider.cpp.

Here is the call graph for this function:

◆ GetKey()

bool HidingSigningProvider::GetKey ( const CKeyID keyid,
CKey key 
) const
overridevirtual

Reimplemented from SigningProvider.

Definition at line 35 of file signingprovider.cpp.

Here is the call graph for this function:

◆ GetKeyOrigin()

bool HidingSigningProvider::GetKeyOrigin ( const CKeyID keyid,
KeyOriginInfo info 
) const
overridevirtual

Reimplemented from SigningProvider.

Definition at line 42 of file signingprovider.cpp.

Here is the call graph for this function:

◆ GetPubKey()

bool HidingSigningProvider::GetPubKey ( const CKeyID keyid,
CPubKey pubkey 
) const
overridevirtual

Reimplemented from SigningProvider.

Definition at line 30 of file signingprovider.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ m_hide_origin

const bool HidingSigningProvider::m_hide_origin
private

Definition at line 44 of file signingprovider.h.

◆ m_hide_secret

const bool HidingSigningProvider::m_hide_secret
private

Definition at line 43 of file signingprovider.h.

◆ m_provider

const SigningProvider* HidingSigningProvider::m_provider
private

Definition at line 45 of file signingprovider.h.


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