![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
Go to the source code of this file.
Functions | |
| CMutableTransaction | BuildCreditingTransaction (const CScript &scriptPubKey, int nValue=0) |
| CMutableTransaction | BuildSpendingTransaction (const CScript &scriptSig, const CScriptWitness &scriptWitness, const CTransaction &txCredit) |
| std::vector< CMutableTransaction > | SetupDummyInputs (FillableSigningProvider &keystoreRet, CCoinsViewCache &coinsRet, const std::array< CAmount, 4 > &nValues) |
| void | BulkTransaction (CMutableTransaction &tx, int32_t target_weight) |
| bool | SignSignature (const SigningProvider &provider, const CScript &fromPubKey, CMutableTransaction &txTo, unsigned int nIn, const CAmount &amount, int nHashType, SignatureData &sig_data) |
| Produce a satisfying script (scriptSig or witness). | |
| bool | SignSignature (const SigningProvider &provider, const CTransaction &txFrom, CMutableTransaction &txTo, unsigned int nIn, int nHashType, SignatureData &sig_data) |
| CMutableTransaction BuildCreditingTransaction | ( | const CScript & | scriptPubKey, |
| int | nValue = 0 ) |
Definition at line 10 of file transaction_utils.cpp.
| CMutableTransaction BuildSpendingTransaction | ( | const CScript & | scriptSig, |
| const CScriptWitness & | scriptWitness, | ||
| const CTransaction & | txCredit ) |
Definition at line 26 of file transaction_utils.cpp.
| void BulkTransaction | ( | CMutableTransaction & | tx, |
| int32_t | target_weight ) |
Definition at line 74 of file transaction_utils.cpp.
| std::vector< CMutableTransaction > SetupDummyInputs | ( | FillableSigningProvider & | keystoreRet, |
| CCoinsViewCache & | coinsRet, | ||
| const std::array< CAmount, 4 > & | nValues ) |
Definition at line 44 of file transaction_utils.cpp.
| bool SignSignature | ( | const SigningProvider & | provider, |
| const CScript & | fromPubKey, | ||
| CMutableTransaction & | txTo, | ||
| unsigned int | nIn, | ||
| const CAmount & | amount, | ||
| int | nHashType, | ||
| SignatureData & | sig_data ) |
Produce a satisfying script (scriptSig or witness).
| provider | Utility containing the information necessary to solve a script. |
| fromPubKey | The script to produce a satisfaction for. |
| txTo | The spending transaction. |
| nIn | The index of the input in txTo referring the output being spent. |
| amount | The value of the output being spent. |
| nHashType | Signature hash type. |
| sig_data | Additional data provided to solve a script. Filled with the resulting satisfying script and whether the satisfaction is complete. |
fromPubKey. Definition at line 94 of file transaction_utils.cpp.
| bool SignSignature | ( | const SigningProvider & | provider, |
| const CTransaction & | txFrom, | ||
| CMutableTransaction & | txTo, | ||
| unsigned int | nIn, | ||
| int | nHashType, | ||
| SignatureData & | sig_data ) |