Skip to content
Bitcoin Roots

v30.3-roots.1 · Commit 52: [PATCH 52/68] test: use explicit fee estimator bypass policy

src/kernel/mempool_entry.h

Before: src/kernel/mempool_entry.h · After: src/kernel/mempool_entry.h

File metadata
index fb731c1f7a3bff723691a344b77dcc1f82d8fa61..74b701815f307b0f6100cc404743ef0536d72054 100644

Download original patch · Release notes

Diff rows 1–23 of 23. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.

src/kernel/mempool_entry.h CHANGED
@@ -277,8 +277,7 @@ struct RemovedMempoolTransactionInfo {
277
277
  struct NewMempoolTransactionInfo {
278
278
  TransactionInfo info;
279
279
  /*
280
- * This boolean indicates whether the transaction was added
281
- * without enforcing mempool fee limits.
280
+ * Nonempty when the transaction bypassed configured mempool policy checks.
282
281
  */
283
282
  const ignore_rejects_type m_ignore_rejects;
284
283
  /* This boolean indicates whether the transaction is part of a package. */
@@ -301,14 +300,6 @@ struct NewMempoolTransactionInfo {
301
300
  m_submitted_in_package{submitted_in_package},
302
301
  m_chainstate_is_current{chainstate_is_current},
303
302
  m_has_no_mempool_parents{has_no_mempool_parents} {}
304
-
305
- NewMempoolTransactionInfo(const CTransactionRef& tx, const CAmount& fee,
306
- const int64_t vsize, const unsigned int height,
307
- const bool mempool_limit_bypassed, const bool submitted_in_package,
308
- const bool chainstate_is_current, const bool has_no_mempool_parents)
309
- : NewMempoolTransactionInfo(tx, fee, vsize, height,
310
- empty_ignore_rejects,
311
- submitted_in_package, chainstate_is_current, has_no_mempool_parents) {}
312
303
  };
313
304
 
314
305
  #endif // BITCOIN_KERNEL_MEMPOOL_ENTRY_H