Changeset View
Changeset View
Standalone View
Standalone View
src/core_read.cpp
Show All 13 Lines | |||||
#include "version.h" | #include "version.h" | ||||
#include <univalue.h> | #include <univalue.h> | ||||
#include <boost/algorithm/string/classification.hpp> | #include <boost/algorithm/string/classification.hpp> | ||||
#include <boost/algorithm/string/predicate.hpp> | #include <boost/algorithm/string/predicate.hpp> | ||||
#include <boost/algorithm/string/replace.hpp> | #include <boost/algorithm/string/replace.hpp> | ||||
#include <boost/algorithm/string/split.hpp> | #include <boost/algorithm/string/split.hpp> | ||||
#include <boost/assign/list_of.hpp> | |||||
CScript ParseScript(const std::string &s) { | CScript ParseScript(const std::string &s) { | ||||
CScript result; | CScript result; | ||||
static std::map<std::string, opcodetype> mapOpNames; | static std::map<std::string, opcodetype> mapOpNames; | ||||
if (mapOpNames.empty()) { | if (mapOpNames.empty()) { | ||||
for (int op = 0; op <= OP_NOP10; op++) { | for (int op = 0; op <= OP_NOP10; op++) { | ||||
▲ Show 20 Lines • Show All 130 Lines • Show Last 20 Lines |