Changeset View
Changeset View
Standalone View
Standalone View
src/script/sign.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/sign.h" | #include <script/sign.h> | ||||
#include "key.h" | #include <key.h> | ||||
#include "keystore.h" | #include <keystore.h> | ||||
#include "policy/policy.h" | #include <policy/policy.h> | ||||
#include "primitives/transaction.h" | #include <primitives/transaction.h> | ||||
#include "script/standard.h" | #include <script/standard.h> | ||||
#include "uint256.h" | #include <uint256.h> | ||||
typedef std::vector<uint8_t> valtype; | typedef std::vector<uint8_t> valtype; | ||||
TransactionSignatureCreator::TransactionSignatureCreator( | TransactionSignatureCreator::TransactionSignatureCreator( | ||||
const CKeyStore *keystoreIn, const CTransaction *txToIn, unsigned int nInIn, | const CKeyStore *keystoreIn, const CTransaction *txToIn, unsigned int nInIn, | ||||
const Amount amountIn, SigHashType sigHashTypeIn) | const Amount amountIn, SigHashType sigHashTypeIn) | ||||
: BaseSignatureCreator(keystoreIn), txTo(txToIn), nIn(nInIn), | : BaseSignatureCreator(keystoreIn), txTo(txToIn), nIn(nInIn), | ||||
amount(amountIn), sigHashType(sigHashTypeIn), | amount(amountIn), sigHashType(sigHashTypeIn), | ||||
▲ Show 20 Lines • Show All 368 Lines • Show Last 20 Lines |