Add accessor for sigops-adjusted weight
This commit is contained in:
1 parent
1bf3b51396
commit
d5ed9cb3eb
1 file changed
+1
@@ -138,6 +138,7 @@ public:
|
||||
{
|
||||
return GetVirtualTransactionSize(nTxWeight, sigOpCost, ::nBytesPerSigOp);
|
||||
}
|
||||
int32_t GetAdjustedWeight() const { return GetSigOpsAdjustedWeight(nTxWeight, sigOpCost, ::nBytesPerSigOp); }
|
||||
int32_t GetTxWeight() const { return nTxWeight; }
|
||||
std::chrono::seconds GetTime() const { return std::chrono::seconds{nTime}; }
|
||||
unsigned int GetHeight() const { return entryHeight; }
|
||||
|
||||
Reference in new issue
Block a user