test: Set maxfeerate=0 in MiniWallet sendrawtransaction() #25262

pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:2206-test-mini-fast-📨 changing 2 files +4 −4
  1. MarcoFalke commented at 3:09 PM on June 1, 2022: member

    It should be safe to set, because MiniWallet will only ever deal with test transactions, so loss-of-funds is not a reason to keep the feerate check.

    It is beneficial to set, as it makes tests less verbose to write. Also, it may speed up tests, as the fee-check can be skipped: #25087 (review)

  2. test: Set maxfeerate=0 in MiniWallet sendrawtransaction() fafaad98f7
  3. fanquake added the label Tests on Jun 1, 2022
  4. fanquake requested review from theStack on Jun 1, 2022
  5. michaelfolkson commented at 3:59 PM on June 1, 2022: contributor

    Concept ACK, Approach ACK

    Leaving other tests (e.g. feature_dbcrash.py) that use MiniWallet and have a maxfeerate check for a follow up PR? Or include in this PR?

  6. MarcoFalke commented at 4:05 PM on June 1, 2022: member

    I think I covered all cases. Can you point to a line where MiniWallet::sendrawtransaction is called that passes the option?

  7. theStack approved
  8. theStack commented at 4:07 PM on June 1, 2022: member

    Code-review ACK fafaad98f785d763848c546d096e6738d507709e

    Leaving other tests (e.g. feature_dbcrash.py) that use MiniWallet and have a maxfeerate check for a follow up PR? Or include in this PR?

    Note that other tests that pass the maxfeerate parameter explicitly directly call the node's sendrawtransaction RPC (e.g. self.nodes[0].sendrawtransaction(...)), not the MiniWallet method with the same name. This PR tackles all instances of MiniWallet.sendrawtransaction (verified that the two in mempool_accept.py are the only ones).

  9. michaelfolkson commented at 4:14 PM on June 1, 2022: contributor

    Sorry for the noise

    ACK fafaad98f785d763848c546d096e6738d507709e

  10. MarcoFalke commented at 6:17 PM on June 1, 2022: member

    Sure, no worries.

  11. MarcoFalke merged this on Jun 1, 2022
  12. MarcoFalke closed this on Jun 1, 2022

  13. MarcoFalke deleted the branch on Jun 1, 2022
  14. sidhujag referenced this in commit 72ad43cbf4 on Jun 2, 2022
  15. DrahtBot locked this on Jun 1, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-14 21:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me