MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / GetTxWeight

Method GetTxWeight

src/kernel/mempool_entry.h:115–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113 }
114 int32_t GetAdjustedWeight() const { return GetSigOpsAdjustedWeight(nTxWeight, sigOpCost, ::nBytesPerSigOp); }
115 int32_t GetTxWeight() const { return nTxWeight; }
116 std::chrono::seconds GetTime() const { return std::chrono::seconds{nTime}; }
117 unsigned int GetHeight() const { return entryHeight; }
118 uint64_t GetSequence() const { return entry_sequence; }

Callers 2

mempool.cppFile · 0.80
AddToBlockMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected