From fdfdd850f1f97f7e88fa573ffb2fee45b5e290a5 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Wed, 23 Nov 2016 09:52:30 +0900 Subject: [PATCH] Add feature to simulate reorgs for debugging --- ENV-NOTES | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ENV-NOTES b/ENV-NOTES index 88ec4c8..f76af1c 100644 --- a/ENV-NOTES +++ b/ENV-NOTES @@ -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. \ No newline at end of file