MakeTransactionRef

Builds a shared pointer to an immutable transaction from the given value.

Synopsis

Declared in <primitives/transaction.h>

template<typename Tx>
static
CTransactionRef
MakeTransactionRef(Tx&& txIn);

Return Value

A shared pointer owning the constructed transaction.

Parameters

NameDescription
txInThe transaction to store, copied or moved into the shared pointer.