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

Method GetTxWeight

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

Source from the content-addressed store, hash-verified

132 size_t GetTxSize() const;
133 size_t GetDiscountTxSize() const;
134 size_t GetTxWeight() const { return nTxWeight; }
135 std::chrono::seconds GetTime() const { return std::chrono::seconds{nTime}; }
136 unsigned int GetHeight() const { return entryHeight; }
137 int64_t GetSigOpCost() const { return sigOpCost; }

Callers 2

blockchain.cppFile · 0.80
AddToBlockMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected