Changeset View
Changeset View
Standalone View
Standalone View
src/script/script.h
Show First 20 Lines • Show All 188 Lines • ▼ Show 20 Lines | enum opcodetype { | ||||
OP_INVALIDOPCODE = 0xff, | OP_INVALIDOPCODE = 0xff, | ||||
}; | }; | ||||
const char *GetOpName(opcodetype opcode); | const char *GetOpName(opcodetype opcode); | ||||
bool IsMinimalArray(const std::vector<uint8_t> &vch, | bool IsMinimalArray(const std::vector<uint8_t> &vch, | ||||
const size_t nMaxNumSize = DEFAULT_MAX_NUM_BYTES); | const size_t nMaxNumSize = DEFAULT_MAX_NUM_BYTES); | ||||
std::vector<uint8_t> MinimalizeBigEndianArray(const std::vector<uint8_t> &data); | |||||
class scriptnum_error : public std::runtime_error { | class scriptnum_error : public std::runtime_error { | ||||
public: | public: | ||||
explicit scriptnum_error(const std::string &str) | explicit scriptnum_error(const std::string &str) | ||||
: std::runtime_error(str) {} | : std::runtime_error(str) {} | ||||
}; | }; | ||||
class CScriptNum { | class CScriptNum { | ||||
/** | /** | ||||
▲ Show 20 Lines • Show All 435 Lines • Show Last 20 Lines |