MCPcopy Create free account
hub / github.com/ElementsProject/elements / ToStringSubScriptHelper

Method ToStringSubScriptHelper

src/script/descriptor.cpp:554–564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

552 }
553
554 virtual bool ToStringSubScriptHelper(const SigningProvider* arg, std::string& ret, const StringType type, const DescriptorCache* cache = nullptr) const
555 {
556 size_t pos = 0;
557 for (const auto& scriptarg : m_subdescriptor_args) {
558 if (pos++) ret += ",";
559 std::string tmp;
560 if (!scriptarg->ToStringHelper(arg, tmp, type, cache)) return false;
561 ret += std::move(tmp);
562 }
563 return true;
564 }
565
566 bool ToStringHelper(const SigningProvider* arg, std::string& out, const StringType type, const DescriptorCache* cache = nullptr) const
567 {

Callers

nothing calls this directly

Calls 1

ToStringHelperMethod · 0.80

Tested by

no test coverage detected