MCPcopy Create free account
hub / github.com/ElementsProject/elements / operator()

Method operator()

src/txmempool.h:63–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 // (e.g. a wrapped CTxMemPoolEntry&)
62 template <typename T>
63 bool operator()(const std::reference_wrapper<T>& a, const std::reference_wrapper<T>& b) const
64 {
65 return a.get().GetTx().GetHash() < b.get().GetTx().GetHash();
66 }
67 template <typename T>
68 bool operator()(const T& a, const T& b) const
69 {

Callers

nothing calls this directly

Calls 3

GetTxMethod · 0.80
GetHashMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected