2017-06-12 21:23:02 +02:00
|
|
|
// Copyright (c) 2017 The Bitcoin Core developers
|
|
|
|
// Distributed under the MIT software license, see the accompanying
|
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
|
|
|
#ifndef BITCOIN_RPC_RAWTRANSACTION_H
|
|
|
|
#define BITCOIN_RPC_RAWTRANSACTION_H
|
|
|
|
|
|
|
|
class CBasicKeyStore;
|
2018-02-20 23:16:33 +01:00
|
|
|
struct CMutableTransaction;
|
2017-06-12 21:23:02 +02:00
|
|
|
class UniValue;
|
|
|
|
|
|
|
|
/** Sign a transaction with the given keystore and previous transactions */
|
|
|
|
UniValue SignTransaction(CMutableTransaction& mtx, const UniValue& prevTxs, CBasicKeyStore *keystore, bool tempKeystore, const UniValue& hashType);
|
|
|
|
|
|
|
|
#endif // BITCOIN_RPC_RAWTRANSACTION_H
|