MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / Expand

Method Expand

src/script/descriptor.cpp:195–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193 std::string ToString() const override { return "raw(" + HexStr(m_script.begin(), m_script.end()) + ")"; }
194 bool ToPrivateString(const SigningProvider& arg, std::string& out) const override { out = ToString(); return true; }
195 bool Expand(int pos, const SigningProvider& arg, std::vector<CScript>& output_scripts, FlatSigningProvider& out) const override
196 {
197 output_scripts = std::vector<CScript>{m_script};
198 return true;
199 }
200};
201
202/** A parsed pk(P), pkh(P), or wpkh(P) descriptor. */

Callers 3

ExpandMethod · 0.45
CheckFunction · 0.45
scantxoutsetFunction · 0.45

Calls

no outgoing calls

Tested by 1

CheckFunction · 0.36