Changeset View
Changeset View
Standalone View
Standalone View
src/script/script.cpp
// Copyright (c) 2009-2010 Satoshi Nakamoto | // Copyright (c) 2009-2010 Satoshi Nakamoto | ||||
// Copyright (c) 2009-2016 The Bitcoin Core developers | // Copyright (c) 2009-2016 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#include "script.h" | #include <script/script.h> | ||||
#include "script/script_flags.h" | #include <script/script_flags.h> | ||||
#include "tinyformat.h" | #include <tinyformat.h> | ||||
#include "utilstrencodings.h" | #include <utilstrencodings.h> | ||||
#include <algorithm> | #include <algorithm> | ||||
const char *GetOpName(opcodetype opcode) { | const char *GetOpName(opcodetype opcode) { | ||||
switch (opcode) { | switch (opcode) { | ||||
// push value | // push value | ||||
case OP_0: | case OP_0: | ||||
return "0"; | return "0"; | ||||
▲ Show 20 Lines • Show All 467 Lines • Show Last 20 Lines |