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

Method ToString

src/script/descriptor.cpp:144–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142 return true;
143 }
144 std::string ToString() const override
145 {
146 std::string ret = EncodeExtPubKey(m_extkey) + FormatKeyPath(m_path);
147 if (IsRange()) {
148 ret += "/*";
149 if (m_derive == DeriveType::HARDENED) ret += '\'';
150 }
151 return ret;
152 }
153 bool ToPrivateString(const SigningProvider& arg, std::string& out) const override
154 {
155 CExtKey key;

Callers

nothing calls this directly

Calls 2

EncodeExtPubKeyFunction · 0.85
FormatKeyPathFunction · 0.85

Tested by

no test coverage detected