Changeset View
Changeset View
Standalone View
Standalone View
src/script/bitcoinconsensus.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 "bitcoinconsensus.h" | #include <script/bitcoinconsensus.h> | ||||
#include "primitives/transaction.h" | #include <primitives/transaction.h> | ||||
#include "pubkey.h" | #include <pubkey.h> | ||||
#include "script/interpreter.h" | #include <script/interpreter.h> | ||||
#include "version.h" | #include <version.h> | ||||
namespace { | namespace { | ||||
/** A class that deserializes a single CTransaction one time. */ | /** A class that deserializes a single CTransaction one time. */ | ||||
class TxInputStream { | class TxInputStream { | ||||
public: | public: | ||||
TxInputStream(int nTypeIn, int nVersionIn, const uint8_t *txTo, | TxInputStream(int nTypeIn, int nVersionIn, const uint8_t *txTo, | ||||
size_t txToLen) | size_t txToLen) | ||||
▲ Show 20 Lines • Show All 120 Lines • Show Last 20 Lines |