Changeset View
Changeset View
Standalone View
Standalone View
src/script/standard.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/standard.h" | #include <script/standard.h> | ||||
#include "pubkey.h" | #include <pubkey.h> | ||||
#include "script/script.h" | #include <script/script.h> | ||||
#include "util.h" | #include <util.h> | ||||
#include "utilstrencodings.h" | #include <utilstrencodings.h> | ||||
typedef std::vector<uint8_t> valtype; | typedef std::vector<uint8_t> valtype; | ||||
bool fAcceptDatacarrier = DEFAULT_ACCEPT_DATACARRIER; | bool fAcceptDatacarrier = DEFAULT_ACCEPT_DATACARRIER; | ||||
CScriptID::CScriptID(const CScript &in) | CScriptID::CScriptID(const CScript &in) | ||||
: uint160(Hash160(in.begin(), in.end())) {} | : uint160(Hash160(in.begin(), in.end())) {} | ||||
▲ Show 20 Lines • Show All 270 Lines • Show Last 20 Lines |