MCPcopy Create free account
hub / github.com/ElementsProject/elements / MakeTransactionRef

Function MakeTransactionRef

src/primitives/transaction.h:628–628  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

626
627typedef std::shared_ptr<const CTransaction> CTransactionRef;
628template <typename Tx> static inline CTransactionRef MakeTransactionRef(Tx&& txIn) { return std::make_shared<const CTransaction>(std::forward<Tx>(txIn)); }
629
630/** A generic txid reference (txid or wtxid). */
631class GenTxid

Callers 15

removeForBlockMethod · 0.50
CreateGenesisBlockFunction · 0.50
AppendInitialIssuanceFunction · 0.50
CommitTransactionFunction · 0.50
spend.cppFile · 0.50
AddTxFunction · 0.50
BOOST_FIXTURE_TEST_CASEFunction · 0.50
add_coinFunction · 0.50
FUZZ_TARGET_INITFunction · 0.50

Calls

no outgoing calls

Tested by 15

AddTxFunction · 0.40
BOOST_FIXTURE_TEST_CASEFunction · 0.40
add_coinFunction · 0.40
FUZZ_TARGET_INITFunction · 0.40
create_placeholder_txFunction · 0.40
BOOST_FIXTURE_TEST_CASEFunction · 0.40
CreateBlockMethod · 0.40
BOOST_AUTO_TEST_CASEFunction · 0.40
BOOST_AUTO_TEST_CASEFunction · 0.40
BOOST_FIXTURE_TEST_CASEFunction · 0.40
BOOST_FIXTURE_TEST_CASEFunction · 0.40
BOOST_AUTO_TEST_CASEFunction · 0.40