darksidewalletd-test-data/basic-reorg
Taylor Hornby 72abb7b572 Add block sets for basic reorg testing 2020-05-05 16:24:20 -06:00
..
README.md Add block sets for basic reorg testing 2020-05-05 16:24:20 -06:00
after-large-large.txt Add block sets for basic reorg testing 2020-05-05 16:24:20 -06:00
after-small-reorg.txt Add block sets for basic reorg testing 2020-05-05 16:24:20 -06:00
before-reorg.txt Add block sets for basic reorg testing 2020-05-05 16:24:20 -06:00
generate.sh Add block sets for basic reorg testing 2020-05-05 16:24:20 -06:00

README.md

basic-reorg

These block sets are for testing reorgs that don't involve any transactions related to the wallet.

  • before-reorg.txt contains empty blocks 663151 to 663200.
  • after-small-reorg.txt contains empty blocks 663151 to 663250, except with a transaction in block 663195, so that that and all following blocks' hashes will be different, triggering a reorg.
    • after-large-reorg.txt contains empty blocks 663151 to 663250, except with a transaction in block 663180, so that a reorg is triggered at that height.
  • generate.sh contains a script for generating the input directories to the genblocks tool, so that these block sets can be easily recreated or modified.