test: p2p_leak_tx.py improvements (use MiniWallet, add p2p_lock acquires) #20126

pull theStack wants to merge 2 commits into bitcoin:master from theStack:20201011-test-use-miniwallet-for-p2p_leak_tx changing 1 files +11 −8
  1. theStack commented at 10:45 pm on October 11, 2020: member
    This PR enables one more of the non-wallet functional tests (p2p_leak_tx.py) to be run even with the Bitcoin Core wallet disabled by using the new MiniWallet instead, as proposed in #20078. It also adds missing p2p_lock acquires that need to be held while modifying internal p2p Interface state (in this case the last_message dictionary) to avoid data races.
  2. test: use MiniWallet for p2p_leak_tx.py
    This test can now be run even with the Bitcoin Core wallet disabled.
    cc8c6823b4
  3. test: add p2p_lock acquires in p2p_leak_tx.py 5b77f8098d
  4. theStack renamed this:
    test: p2p_leak_tx.py improvements (use MiniWallet, add p2p_locks acquires)
    test: p2p_leak_tx.py improvements (use MiniWallet, add p2p_lock acquires)
    on Oct 11, 2020
  5. fanquake added the label Tests on Oct 11, 2020
  6. laanwj commented at 4:12 pm on October 12, 2020: member
    Code review ACK 5b77f8098de537898151ab116d0e547fd6ff9466
  7. MarcoFalke merged this on Oct 13, 2020
  8. MarcoFalke closed this on Oct 13, 2020

  9. theStack deleted the branch on Dec 1, 2020
  10. deadalnix referenced this in commit 2b823314ab on Nov 12, 2021
  11. deadalnix referenced this in commit 24c050d549 on Nov 12, 2021
  12. DrahtBot locked this on Feb 15, 2022


theStack laanwj

Labels
Tests


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: 2024-12-23 09:12 UTC

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