BSHA3  0.17.99
P2P Blockchain, based on Bitcoin
rawtransaction.h
Go to the documentation of this file.
1 // Copyright (c) 2017-2018 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef BITCOIN_RPC_RAWTRANSACTION_H
6 #define BITCOIN_RPC_RAWTRANSACTION_H
7 
8 class CBasicKeyStore;
10 class UniValue;
11 
13 UniValue SignTransaction(CMutableTransaction& mtx, const UniValue& prevTxs, CBasicKeyStore *keystore, bool tempKeystore, const UniValue& hashType);
14 
16 CMutableTransaction ConstructTransaction(const UniValue& inputs_in, const UniValue& outputs_in, const UniValue& locktime, const UniValue& rbf);
17 
18 #endif // BITCOIN_RPC_RAWTRANSACTION_H
UniValue SignTransaction(CMutableTransaction &mtx, const UniValue &prevTxs, CBasicKeyStore *keystore, bool tempKeystore, const UniValue &hashType)
Sign a transaction with the given keystore and previous transactions.
CMutableTransaction ConstructTransaction(const UniValue &inputs_in, const UniValue &outputs_in, const UniValue &locktime, const UniValue &rbf)
Create a transaction from univalue parameters.
A mutable version of CTransaction.
Definition: transaction.h:360
Basic key store, that keeps keys in an address->secret map.
Definition: keystore.h:42