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

Function GetDescriptorChecksum

src/script/descriptor.cpp:1412–1419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1410}
1411
1412std::string GetDescriptorChecksum(const std::string& descriptor)
1413{
1414 std::string ret;
1415 std::string error;
1416 Span<const char> sp{descriptor};
1417 if (!CheckChecksum(sp, false, error, &ret)) return "";
1418 return ret;
1419}
1420
1421std::unique_ptr<Descriptor> InferDescriptor(const CScript& script, const SigningProvider& provider)
1422{

Callers 3

UseHInsteadOfApostropheFunction · 0.85
FUZZ_TARGETFunction · 0.85
getdescriptorinfoFunction · 0.85

Calls 1

CheckChecksumFunction · 0.85

Tested by 2

UseHInsteadOfApostropheFunction · 0.68
FUZZ_TARGETFunction · 0.68