diff options
author | Anthony Towns <aj@erisian.com.au> | 2023-08-07 19:46:10 +1000 |
---|---|---|
committer | Anthony Towns <aj@erisian.com.au> | 2023-08-07 20:24:33 +1000 |
commit | fb02ba3c5f5bcd96b5e3622ef001b8e57ce63fc0 (patch) | |
tree | a22918b8620865586150061c817663c1165d0f11 /src/kernel | |
parent | 1a118062fbc4ec8f645f4ec4298d869a869c3344 (diff) |
mempool_entry: improve struct packing
Diffstat (limited to 'src/kernel')
-rw-r--r-- | src/kernel/mempool_entry.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/mempool_entry.h b/src/kernel/mempool_entry.h index cb3069a71a..1f175a5ccf 100644 --- a/src/kernel/mempool_entry.h +++ b/src/kernel/mempool_entry.h @@ -78,8 +78,8 @@ private: const int32_t nTxWeight; //!< ... and avoid recomputing tx weight (also used for GetTxSize()) const size_t nUsageSize; //!< ... and total memory usage const int64_t nTime; //!< Local time when entering the mempool + const uint64_t entry_sequence; //!< Sequence number used to determine whether this transaction is too recent for relay const unsigned int entryHeight; //!< Chain height when entering the mempool - const uint64_t entry_sequence; //!< Sequence number used to determine w hether this transaction is too recent for relay const bool spendsCoinbase; //!< keep track of transactions that spend a coinbase const int64_t sigOpCost; //!< Total sigop cost CAmount m_modified_fee; //!< Used for determining the priority of the transaction for mining in a block @@ -110,8 +110,8 @@ public: nTxWeight{GetTransactionWeight(*tx)}, nUsageSize{RecursiveDynamicUsage(tx)}, nTime{time}, - entryHeight{entry_height}, entry_sequence{entry_sequence}, + entryHeight{entry_height}, spendsCoinbase{spends_coinbase}, sigOpCost{sigops_cost}, m_modified_fee{nFee}, |