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

Function FromString

src/script/miniscript.h:2687–2690  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2685
2686template <typename Ctx>
2687inline std::optional<Node<typename Ctx::Key>> FromString(const std::string& str, const Ctx& ctx)
2688{
2689 return internal::Parse<typename Ctx::Key>(str, ctx);
2690}
2691
2692template <typename Ctx>
2693inline std::optional<Node<typename Ctx::Key>> FromScript(const CScript& script, const Ctx& ctx)

Callers 5

ParseScriptFunction · 0.85
TestMethod · 0.85
BOOST_AUTO_TEST_CASEFunction · 0.85
TestNodeFunction · 0.85
miniscript.cppFile · 0.85

Calls

no outgoing calls

Tested by 3

TestMethod · 0.68
BOOST_AUTO_TEST_CASEFunction · 0.68
TestNodeFunction · 0.68