Add the ability for network splits to the Python test framework. #5132

pull domob1812 wants to merge 2 commits into bitcoin:master from domob1812:btc-test-split changing 8 files +211 −135
  1. domob1812 commented at 7:13 AM on October 24, 2014: contributor

    This patch extends the Python test framework with the ability to split and re-join the network "at will". It uses this to extend the test for getchaintips (but the capability may be useful for other tests as well, e. g., reorg handling).

    It also fixes a problem with run_test provided by BitcoinTestFramework (which is never used anywhere, though) and adds the nodes as member to the class (which seems like a good idea to me, but I can revert that change if that's not desired).

    The second commit works around #5113.

  2. Extend getchaintips RPC test.
    Add the capability to simulate network splits to the RPC test framework
    and use it to do more extensive testing of 'getchaintips'.
    dcb98466b4
  3. Work around #5113. 2290ed01bc
  4. laanwj commented at 7:22 AM on October 24, 2014: member

    Nice!

  5. laanwj added the label Tests on Oct 24, 2014
  6. gavinandresen commented at 3:47 PM on October 24, 2014: contributor

    Tested ACK.

  7. gavinandresen merged this on Oct 24, 2014
  8. gavinandresen closed this on Oct 24, 2014

  9. gavinandresen referenced this in commit e401a2c557 on Oct 24, 2014
  10. domob1812 deleted the branch on Oct 26, 2014
  11. MarcoFalke locked this on Sep 8, 2021

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-21 18:15 UTC

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