Move ParseScript() helper, becoming accessible outside src/test/

This commit is contained in:
Jeff Garzik
2014-06-23 23:16:33 -04:00
parent ae775b5b31
commit b2aeaa7939
4 changed files with 81 additions and 71 deletions

View File

@ -9,6 +9,7 @@
#include "keystore.h"
#include "main.h"
#include "script.h"
#include "core_io.h"
#include <map>
#include <string>
@ -24,7 +25,6 @@ using namespace boost::algorithm;
// In script_tests.cpp
extern Array read_json(const std::string& jsondata);
extern CScript ParseScript(string s);
unsigned int ParseFlags(string strFlags){
unsigned int flags = 0;