Bitcoin Core 28.99.0
P2P Digital Currency
|
A signing provider to be used to interface with multiple signing providers at once. More...
#include <signingprovider.h>
Public Member Functions | |
void | AddProvider (std::unique_ptr< SigningProvider > provider) |
bool | GetCScript (const CScriptID &scriptid, CScript &script) const override |
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 |
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 | |
std::vector< std::unique_ptr< SigningProvider > > | m_providers |
A signing provider to be used to interface with multiple signing providers at once.
Definition at line 302 of file signingprovider.h.
void MultiSigningProvider::AddProvider | ( | std::unique_ptr< SigningProvider > | provider | ) |
|
overridevirtual |
Reimplemented from SigningProvider.
Definition at line 236 of file signingprovider.cpp.
Reimplemented from SigningProvider.
Definition at line 261 of file signingprovider.cpp.
|
overridevirtual |
Reimplemented from SigningProvider.
Definition at line 253 of file signingprovider.cpp.
|
overridevirtual |
Reimplemented from SigningProvider.
Definition at line 244 of file signingprovider.cpp.
|
overridevirtual |
Reimplemented from SigningProvider.
Definition at line 277 of file signingprovider.cpp.
|
overridevirtual |
Reimplemented from SigningProvider.
Definition at line 269 of file signingprovider.cpp.
|
private |
Definition at line 303 of file signingprovider.h.