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

Method ToPrivateString

src/script/descriptor.cpp:980–985  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

978 }
979
980 bool ToPrivateString(const SigningProvider& arg, std::string& out) const override
981 {
982 bool has_priv_key{ToStringHelper(&arg, out, StringType::PRIVATE)};
983 out = AddChecksum(out);
984 return has_priv_key;
985 }
986
987 bool ToNormalizedString(const SigningProvider& arg, std::string& out, const DescriptorCache* cache) const override final
988 {

Callers

nothing calls this directly

Calls 1

AddChecksumFunction · 0.85

Tested by

no test coverage detected