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

Method addTransaction

src/txmempool.h:1031–1035  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1029 }
1030
1031 void addTransaction(const CTransactionRef& tx)
1032 {
1033 queuedTx.insert(tx);
1034 cachedInnerUsage += RecursiveDynamicUsage(tx);
1035 }
1036
1037 // Remove entries based on txid_index, and update memory usage.
1038 void removeForBlock(const std::vector<CTransactionRef>& vtx)

Callers 1

DisconnectTipMethod · 0.80

Calls 2

RecursiveDynamicUsageFunction · 0.85
insertMethod · 0.45

Tested by

no test coverage detected