Owning wrapper over a btck_Transaction.
Declared in <kernel/bitcoinkernel_wrapper.h>
class Transaction
: public Handle<btck_Transaction, btck_transaction_copy, btck_transaction_destroy>
, public TransactionApi<Transaction>
| Name | Description |
|---|---|
Handle<btck_Transaction, btck_transaction_copy, btck_transaction_destroy> | Owning RAII handle for a copyable C object of type CType. |
TransactionApi<Transaction> | CRTP mixin adding transaction accessors shared by the view and owning types. |
| Name | Description |
|---|---|
Transaction [constructor] | Constructors |
operator= | Assignment operators |
CountInputs | Returns the number of inputs. |
CountOutputs | Returns the number of outputs. |
GetInput | Returns a single input by index. |
GetLocktime | Returns the transaction locktime. |
GetOutput | Returns a single output by index. |
Inputs | |
Outputs | |
ToBytes | Serializes the transaction to its raw bytes. |
Txid | Returns the transaction id. |
get | Returns the owned C handle. |
| Name | Description |
|---|---|
m_ptr | The owned C handle. |
| Name | Description |
|---|---|
CheckTransaction | Runs consensus-level checks on a standalone transaction. |