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

Method ToPrivateString

src/script/descriptor.cpp:261–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259 }
260
261 bool ToPrivateString(const SigningProvider& arg, std::string& out) const override
262 {
263 std::string ret = strprintf("multi(%i", m_threshold);
264 for (const auto& p : m_providers) {
265 std::string sub;
266 if (!p->ToPrivateString(arg, sub)) return false;
267 ret += "," + std::move(sub);
268 }
269 out = std::move(ret) + ")";
270 return true;
271 }
272
273 bool Expand(int pos, const SigningProvider& arg, std::vector<CScript>& output_scripts, FlatSigningProvider& out) const override
274 {

Callers

nothing calls this directly

Calls 1

ToPrivateStringMethod · 0.45

Tested by

no test coverage detected