Bitcoin
|
Public Member Functions | |
AddressDescriptor (CTxDestination destination) | |
bool | IsSolvable () const final |
![]() | |
DescriptorImpl (std::vector< std::unique_ptr< PubkeyProvider >> pubkeys, std::unique_ptr< DescriptorImpl > script, const std::string &name) | |
bool | IsRange () const final |
bool | ToStringHelper (const SigningProvider *arg, std::string &out, bool priv) const |
std::string | ToString () const final |
bool | ToPrivateString (const SigningProvider &arg, std::string &out) const override final |
bool | ExpandHelper (int pos, const SigningProvider &arg, Span< const unsigned char > *cache_read, std::vector< CScript > &output_scripts, FlatSigningProvider &out, std::vector< unsigned char > *cache_write) const |
bool | Expand (int pos, const SigningProvider &provider, std::vector< CScript > &output_scripts, FlatSigningProvider &out, std::vector< unsigned char > *cache=nullptr) const final |
bool | ExpandFromCache (int pos, const std::vector< unsigned char > &cache, std::vector< CScript > &output_scripts, FlatSigningProvider &out) const final |
void | ExpandPrivate (int pos, const SigningProvider &provider, FlatSigningProvider &out) const final |
![]() | |
virtual | ~Descriptor ()=default |
Protected Member Functions | |
std::string | ToStringExtra () const override |
Return a serialization of anything except pubkey and script arguments, to be prepended to those. More... | |
std::vector< CScript > | MakeScripts (const std::vector< CPubKey > &, const CScript *, FlatSigningProvider &) const override |
Private Attributes | |
const CTxDestination | m_destination |
A parsed addr(A) descriptor.
|
inline |
|
inlinefinalvirtual |
Whether this descriptor has all information about signing ignoring lack of private keys. This is true for all descriptors except ones that use raw
or addr
constructions.
Reimplemented from anonymous_namespace{descriptor.cpp}::DescriptorImpl.
|
inlineoverrideprotectedvirtual |
A helper function to construct the scripts for this descriptor.
This function is invoked once for every CScript produced by evaluating m_script_arg, or just once in case m_script_arg is nullptr.
pubkeys | The evaluations of the m_pubkey_args field. |
script | The evaluation of m_script_arg (or nullptr when m_script_arg is nullptr). |
out | A FlatSigningProvider to put scripts or public keys in that are necessary to the solver. The script arguments to this function are automatically added, as is the origin info of the provided pubkeys. |
Implements anonymous_namespace{descriptor.cpp}::DescriptorImpl.
|
inlineoverrideprotectedvirtual |
Return a serialization of anything except pubkey and script arguments, to be prepended to those.
Reimplemented from anonymous_namespace{descriptor.cpp}::DescriptorImpl.
|
private |