Bitcoin Core 28.99.0
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
 
bool GetTaprootSpendData (const XOnlyPubKey &output_key, TaprootSpendData &spenddata) const override
 
bool GetTaprootBuilder (const XOnlyPubKey &output_key, TaprootBuilder &builder) const override
 
- Public Member Functions inherited from SigningProvider
virtual ~SigningProvider ()=default
 
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
 
virtual bool GetTaprootSpendData (const XOnlyPubKey &output_key, TaprootSpendData &spenddata) const
 
virtual bool GetTaprootBuilder (const XOnlyPubKey &output_key, TaprootBuilder &builder) const
 
bool GetKeyByXOnly (const XOnlyPubKey &pubkey, CKey &key) const
 
bool GetPubKeyByXOnly (const XOnlyPubKey &pubkey, CPubKey &out) const
 
bool GetKeyOriginByXOnly (const XOnlyPubKey &pubkey, KeyOriginInfo &info) const
 

Private Attributes

const bool m_hide_secret
 
const bool m_hide_origin
 
const SigningProviderm_provider
 

Detailed Description

Definition at line 190 of file signingprovider.h.

Constructor & Destructor Documentation

◆ HidingSigningProvider()

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

Definition at line 198 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 41 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:

◆ GetTaprootBuilder()

bool HidingSigningProvider::GetTaprootBuilder ( const XOnlyPubKey output_key,
TaprootBuilder builder 
) const
overridevirtual

Reimplemented from SigningProvider.

Definition at line 51 of file signingprovider.cpp.

Here is the call graph for this function:

◆ GetTaprootSpendData()

bool HidingSigningProvider::GetTaprootSpendData ( const XOnlyPubKey output_key,
TaprootSpendData spenddata 
) const
overridevirtual

Reimplemented from SigningProvider.

Definition at line 47 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 194 of file signingprovider.h.

◆ m_hide_secret

const bool HidingSigningProvider::m_hide_secret
private

Definition at line 193 of file signingprovider.h.

◆ m_provider

const SigningProvider* HidingSigningProvider::m_provider
private

Definition at line 195 of file signingprovider.h.


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