19 lines
858 B
C
19 lines
858 B
C
|
|
// Copyright (c) 2009-2019 The Bitcoin Core developers
|
||
|
|
// Copyright (c) 2014-2019 The DigiByte Core developers
|
||
|
|
// Distributed under the MIT software license, see the accompanying
|
||
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||
|
|
|
||
|
|
#ifndef DIGIBYTE_RPC_RAWTRANSACTION_H
|
||
|
|
#define DIGIBYTE_RPC_RAWTRANSACTION_H
|
||
|
|
|
||
|
|
class CBasicKeyStore;
|
||
|
|
struct CMutableTransaction;
|
||
|
|
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);
|
||
|
|
|
||
|
|
/** Create a transaction from univalue parameters */
|
||
|
|
CMutableTransaction ConstructTransaction(const UniValue& inputs_in, const UniValue& outputs_in, const UniValue& locktime, const UniValue& rbf);
|
||
|
|
|
||
|
|
#endif // DIGIBYTE_RPC_RAWTRANSACTION_H
|