Bitcoin Core  22.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
FlatSigningProvider Struct Referencefinal

#include <signingprovider.h>

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

Public Member Functions

bool GetCScript (const CScriptID &scriptid, CScript &script) const override
 Map from output key to spend data. More...
 
bool GetPubKey (const CKeyID &keyid, CPubKey &pubkey) const override
 
bool GetKeyOrigin (const CKeyID &keyid, KeyOriginInfo &info) const override
 
bool GetKey (const CKeyID &keyid, CKey &key) const override
 
bool GetTaprootSpendData (const XOnlyPubKey &output_key, TaprootSpendData &spenddata) const override
 
- Public Member Functions inherited from SigningProvider
virtual ~SigningProvider ()
 
virtual bool HaveCScript (const CScriptID &scriptid) const
 
virtual bool HaveKey (const CKeyID &address) 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
 

Public Attributes

std::map< CScriptID, CScriptscripts
 
std::map< CKeyID, CPubKeypubkeys
 
std::map< CKeyID, std::pair< CPubKey, KeyOriginInfo > > origins
 
std::map< CKeyID, CKeykeys
 
std::map< XOnlyPubKey, TaprootSpendDatatr_spenddata
 

Detailed Description

Definition at line 73 of file signingprovider.h.

Member Function Documentation

◆ GetCScript()

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

Map from output key to spend data.

Reimplemented from SigningProvider.

Definition at line 52 of file signingprovider.cpp.

Here is the call graph for this function:

◆ GetKey()

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

Reimplemented from SigningProvider.

Definition at line 61 of file signingprovider.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetKeyOrigin()

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

Reimplemented from SigningProvider.

Definition at line 54 of file signingprovider.cpp.

Here is the call graph for this function:

◆ GetPubKey()

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

Reimplemented from SigningProvider.

Definition at line 53 of file signingprovider.cpp.

Here is the call graph for this function:

◆ GetTaprootSpendData()

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

Reimplemented from SigningProvider.

Definition at line 62 of file signingprovider.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ keys

std::map<CKeyID, CKey> FlatSigningProvider::keys

Definition at line 78 of file signingprovider.h.

◆ origins

std::map<CKeyID, std::pair<CPubKey, KeyOriginInfo> > FlatSigningProvider::origins

Definition at line 77 of file signingprovider.h.

◆ pubkeys

std::map<CKeyID, CPubKey> FlatSigningProvider::pubkeys

Definition at line 76 of file signingprovider.h.

◆ scripts

std::map<CScriptID, CScript> FlatSigningProvider::scripts

Definition at line 75 of file signingprovider.h.

◆ tr_spenddata

std::map<XOnlyPubKey, TaprootSpendData> FlatSigningProvider::tr_spenddata

Definition at line 79 of file signingprovider.h.


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