Add an RPC call to force a reorg at run-time

This required a large rework block processor and prefetcher
interaction, and led to various cleanups

Closes #103
This commit is contained in:
Neil Booth
2017-01-09 14:51:26 +09:00
parent 2c1ae050cc
commit c38d33ac4c
+5
View File
@@ -142,3 +142,8 @@ The following commands are available:
Returns a list of peer electrum servers. This command takes no arguments.
Currently this is data gleaned from an IRC session.
* **reorg**
Force a block chain reorg. This command takes an optional
argument - the number of blocks to reorg - that defaults to 3.