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

Name

Description

txIn

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

Created with MrDocs