darksidewalletd-test-data/basic-reorg
Larry Ruane 669df6aca2 add tx-height-reorg/ (move tx to a different height) 2020-05-20 17:18:09 -06:00
..
663150.txt go back to having block 663150 be real mainnet, since it's a checkpoint 2020-05-20 09:52:09 -06:00
README.md use basic-reorg/generate.sh to regenerate all blocks 2020-05-19 15:25:17 -06:00
after-large-large.txt Add block sets for basic reorg testing 2020-05-05 16:24:20 -06:00
after-large-reorg.txt use basic-reorg/generate.sh to regenerate all blocks 2020-05-19 15:25:17 -06:00
after-small-reorg.txt use basic-reorg/generate.sh to regenerate all blocks 2020-05-19 15:25:17 -06:00
before-reorg.txt go back to having block 663150 be real mainnet, since it's a checkpoint 2020-05-20 09:52:09 -06:00
generate.sh add tx-height-reorg/ (move tx to a different height) 2020-05-20 17:18:09 -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 real mainnet block 663150 followed by empty blocks 663151 to 663200.
  • after-small-reorg.txt contains empty blocks 663195 to 663250, 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 663180 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.