|
|
@ -415,6 +415,13 @@ public: |
|
|
|
|
|
|
|
|
|
|
|
// Compute modified tx size for priority calculation (optionally given tx size)
|
|
|
|
// Compute modified tx size for priority calculation (optionally given tx size)
|
|
|
|
unsigned int CalculateModifiedSize(unsigned int nTxSize=0) const; |
|
|
|
unsigned int CalculateModifiedSize(unsigned int nTxSize=0) const; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Get the total transaction size in bytes, including witness data. |
|
|
|
|
|
|
|
* "Total Size" defined in BIP141 and BIP144. |
|
|
|
|
|
|
|
* @return Total transaction size in bytes |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
unsigned int GetTotalSize() const; |
|
|
|
|
|
|
|
|
|
|
|
bool IsCoinBase() const |
|
|
|
bool IsCoinBase() const |
|
|
|
{ |
|
|
|
{ |
|
|
|