Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/rawtransaction_util.h
// Copyright (c) 2017 The Bitcoin Core developers | // Copyright (c) 2017 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. | ||||
#ifndef BITCOIN_RPC_RAWTRANSACTION_UTIL_H | #ifndef BITCOIN_RPC_RAWTRANSACTION_UTIL_H | ||||
#define BITCOIN_RPC_RAWTRANSACTION_UTIL_H | #define BITCOIN_RPC_RAWTRANSACTION_UTIL_H | ||||
class CBasicKeyStore; | class CBasicKeyStore; | ||||
class CChainParams; | class CChainParams; | ||||
class UniValue; | class UniValue; | ||||
struct CMutableTransaction; | class CMutableTransaction; | ||||
namespace interfaces { | namespace interfaces { | ||||
class Chain; | class Chain; | ||||
} // namespace interfaces | } // namespace interfaces | ||||
/** Sign a transaction with the given keystore and previous transactions */ | /** Sign a transaction with the given keystore and previous transactions */ | ||||
UniValue SignTransaction(interfaces::Chain &chain, CMutableTransaction &mtx, | UniValue SignTransaction(interfaces::Chain &chain, CMutableTransaction &mtx, | ||||
const UniValue &prevTxs, CBasicKeyStore *keystore, | const UniValue &prevTxs, CBasicKeyStore *keystore, | ||||
Show All 9 Lines |