Bitcoin Core  27.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 Taproot tree (which can then make the TaprootSpendData. 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
 
bool GetTaprootBuilder (const XOnlyPubKey &output_key, TaprootBuilder &builder) const override
 
FlatSigningProviderMerge (FlatSigningProvider &&b) LIFETIMEBOUND
 
- 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, TaprootBuildertr_trees
 

Detailed Description

Definition at line 207 of file signingprovider.h.

Member Function Documentation

◆ GetCScript()

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

Map from output key to Taproot tree (which can then make the TaprootSpendData.

Reimplemented from SigningProvider.

Definition at line 56 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 65 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 58 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 57 of file signingprovider.cpp.

Here is the call graph for this function:

◆ GetTaprootBuilder()

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

Reimplemented from SigningProvider.

Definition at line 75 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 66 of file signingprovider.cpp.

Here is the call graph for this function:

◆ Merge()

FlatSigningProvider & FlatSigningProvider::Merge ( FlatSigningProvider &&  b)

Definition at line 80 of file signingprovider.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ keys

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

Definition at line 212 of file signingprovider.h.

◆ origins

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

Definition at line 211 of file signingprovider.h.

◆ pubkeys

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

Definition at line 210 of file signingprovider.h.

◆ scripts

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

Definition at line 209 of file signingprovider.h.

◆ tr_trees

std::map<XOnlyPubKey, TaprootBuilder> FlatSigningProvider::tr_trees

Definition at line 213 of file signingprovider.h.


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