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

Method Parse

src/core_io.cpp:76–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 }
75 }
76 opcodetype Parse(const std::string& s) const
77 {
78 auto it = mapOpNames.find(s);
79 if (it == mapOpNames.end()) throw std::runtime_error("script parse error: unknown opcode");
80 return it->second;
81 }
82};
83
84opcodetype ParseOpCode(const std::string& s)

Callers 1

ParseOpCodeFunction · 0.45

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected