diff options
| author | Gregory Sanders <[email protected]> | 2019-07-31 13:21:00 -0400 |
|---|---|---|
| committer | Gregory Sanders <[email protected]> | 2019-10-03 14:03:27 -0400 |
| commit | 8e59af55aaf1b196575084bce2448af02d97d745 (patch) | |
| tree | 066de49201c9a95482cc601fbe385195c991752c /src/txmempool.h | |
| parent | Merge #16524: Wallet: Disable -fallbackfee by default (diff) | |
| download | discoin-8e59af55aaf1b196575084bce2448af02d97d745.tar.xz discoin-8e59af55aaf1b196575084bce2448af02d97d745.zip | |
feefilter: Compute the absolute fee rather than stored rate to match mempool acceptance logic
Diffstat (limited to 'src/txmempool.h')
| -rw-r--r-- | src/txmempool.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/txmempool.h b/src/txmempool.h index f2fc1c831..229a923a2 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -334,8 +334,11 @@ struct TxMempoolInfo /** Time the transaction entered the mempool. */ std::chrono::seconds m_time; - /** Feerate of the transaction. */ - CFeeRate feeRate; + /** Fee of the transaction. */ + CAmount fee; + + /** Virtual size of the transaction. */ + size_t vsize; /** The fee delta. */ int64_t nFeeDelta; |