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

Method OriginString

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

Source from the content-addressed store, hash-verified

193 std::unique_ptr<PubkeyProvider> m_provider;
194
195 std::string OriginString() const
196 {
197 return HexStr(m_origin.fingerprint) + FormatHDKeypath(m_origin.path);
198 }
199
200public:
201 OriginPubkeyProvider(uint32_t exp_index, KeyOriginInfo info, std::unique_ptr<PubkeyProvider> provider) : PubkeyProvider(exp_index), m_origin(std::move(info)), m_provider(std::move(provider)) {}

Callers

nothing calls this directly

Calls 2

FormatHDKeypathFunction · 0.85
HexStrFunction · 0.50

Tested by

no test coverage detected