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

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

#include <scriptpubkeyman.h>

Inheritance diagram for wallet::LegacySigningProvider:
[legend]
Collaboration diagram for wallet::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 ()
 
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 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 544 of file scriptpubkeyman.h.

Constructor & Destructor Documentation

◆ LegacySigningProvider()

wallet::LegacySigningProvider::LegacySigningProvider ( const LegacyScriptPubKeyMan spk_man)
inlineexplicit

Definition at line 549 of file scriptpubkeyman.h.

Member Function Documentation

◆ GetCScript()

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

Reimplemented from SigningProvider.

Definition at line 551 of file scriptpubkeyman.h.

Here is the call graph for this function:

◆ GetKey()

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

Reimplemented from SigningProvider.

Definition at line 554 of file scriptpubkeyman.h.

◆ GetKeyOrigin()

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

Reimplemented from SigningProvider.

Definition at line 556 of file scriptpubkeyman.h.

Here is the call graph for this function:

◆ GetPubKey()

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

Reimplemented from SigningProvider.

Definition at line 553 of file scriptpubkeyman.h.

Here is the call graph for this function:

◆ HaveCScript()

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

Reimplemented from SigningProvider.

Definition at line 552 of file scriptpubkeyman.h.

Here is the call graph for this function:

◆ HaveKey()

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

Reimplemented from SigningProvider.

Definition at line 555 of file scriptpubkeyman.h.

Member Data Documentation

◆ m_spk_man

const LegacyScriptPubKeyMan& wallet::LegacySigningProvider::m_spk_man
private

Definition at line 547 of file scriptpubkeyman.h.


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