Add feature to simulate reorgs for debugging

This commit is contained in:
Neil Booth
2016-11-23 09:52:30 +09:00
parent 597520bfcb
commit fdfdd850f1
+6
View File
@@ -82,3 +82,9 @@ UTXO_MB - amount of UTXO and history cache, in MB, to retain before
leveldb caching and Python GC effects. However this may be
very dependent on hardware and you may have different
results.
The following are for debugging purposes.
FORCE_REORG - if set to a positive integer, it will simulate a reorg
of the blockchain for that number of blocks. Do not set
to a value greater than REORG_LIMIT.