A mutable version of CTransaction.
Synopsis
Declared in <primitives/transaction.h>
struct CMutableTransaction;
Member Functions
Name |
Description |
|
Constructors |
Compute the hash of this CMutableTransaction. This is computed on the fly, as opposed to GetHash() in CTransaction, which uses a cached result. |
|
Returns true when any input carries witness data. |
|
Serializes the transaction using the stream's transaction parameters. |
|
Unserializes the transaction using the stream's transaction parameters. |
Data Members
Non-Member Functions
Name |
Description |
Normalize univalue‐represented inputs and add them to the transaction |
|
Normalize, parse, and add outputs to the transaction |
|
Create a transaction from univalue parameters |
|
Extract signature data from a transaction input, and insert it. |
|
Decode a hex‐encoded serialized transaction. |
|
Sign the CMutableTransaction |
|
Sign a transaction with the given keystore and previous transactions |
|
Encode the outcome of a signing attempt as a JSON object |
|
Set a height‐based locktime for new transactions (uses the height of the current chain tip unless we are not synced with the current chain |
Created with MrDocs