Bitcoin Core  22.99.0
P2P Digital Currency
Functions
transaction_utils.cpp File Reference
#include <coins.h>
#include <script/signingprovider.h>
#include <test/util/transaction_utils.h>
Include dependency graph for transaction_utils.cpp:

Go to the source code of this file.

Functions

CMutableTransaction BuildCreditingTransaction (const CScript &scriptPubKey, int nValue)
 
CMutableTransaction BuildSpendingTransaction (const CScript &scriptSig, const CScriptWitness &scriptWitness, const CTransaction &txCredit)
 
std::vector< CMutableTransactionSetupDummyInputs (FillableSigningProvider &keystoreRet, CCoinsViewCache &coinsRet, const std::array< CAmount, 4 > &nValues)
 

Function Documentation

◆ BuildCreditingTransaction()

CMutableTransaction BuildCreditingTransaction ( const CScript scriptPubKey,
int  nValue 
)

Definition at line 9 of file transaction_utils.cpp.

Here is the caller graph for this function:

◆ BuildSpendingTransaction()

CMutableTransaction BuildSpendingTransaction ( const CScript scriptSig,
const CScriptWitness scriptWitness,
const CTransaction txCredit 
)

Definition at line 25 of file transaction_utils.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetupDummyInputs()

std::vector<CMutableTransaction> SetupDummyInputs ( FillableSigningProvider keystoreRet,
CCoinsViewCache coinsRet,
const std::array< CAmount, 4 > &  nValues 
)

Definition at line 43 of file transaction_utils.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: