Update docs: txindex in README, reindex in HOWTO
authorEagle[TM] <eagletm@mpex.net>
Thu, 14 Nov 2013 12:18:01 +0000 (13:18 +0100)
committerEagle[TM] <eagletm@mpex.net>
Thu, 14 Nov 2013 12:18:01 +0000 (13:18 +0100)
HOWTO.md
README.leveldb

index ac0cd48..fafcb76 100644 (file)
--- a/HOWTO.md
+++ b/HOWTO.md
@@ -97,11 +97,11 @@ our ~/bin directory:
     $ chmod +x ~/src/electrum/server/server.py
     $ ln -s ~/src/electrum/server/server.py ~/bin/electrum-server
 
-### Step 3. Download Bitcoind
+### Step 3. Download bitcoind
 
 Older versions of Electrum used to require a patched version of bitcoind. 
 This is not the case anymore since bitcoind supports the 'txindex' option.
-We currently recommend bitcoind 0.8.5 stable. 
+We currently recommend bitcoind 0.8.5 stable.
 
 ### Step 4. Configure and start bitcoind
 
@@ -119,7 +119,13 @@ Write this in `bitcoin.conf`:
     daemon=1
     txindex=1
 
-Restart `bitcoind`:
+
+If you have an existing installation of bitcoind and have not previously,
+set txindex=1 you need to reindex the blockchain by running
+
+    $ bitcoind -reindex
+
+If you have a fresh copy of bitcoind start `bitcoind`:
 
     $ bitcoind
 
index 78d86a3..ff08823 100644 (file)
@@ -4,18 +4,21 @@ Pruning nodes use a lightweight database to store address histories.
 Only unspent coins are kept in that database; spent outputs are
 pruned.
 
-
+As of November 2013 all public servers operate this way.
+Please see HOWTO.md for more detailled information. The following is a 
+short outline:
 __________________________________________________________
-1. patch and compile bitcoind.
+1. Run bitcoind.
 
-Install version 0.8 or equivalent.
-Patch it with the patch distributed with Electrum.
+Install version 0.8.5 or higher.
+There is no need to patch bitcoind anymore.
+You need to run it with the config option txindex=1 .
+If you have not previously done so, you may need to reindex the bitcoind blockchain
 
 Note: Even though Electrum's database uses pruning, you cannot use it
 with a ultra-pruning bitcoind (forthcoming in 0.9 or later).
 A full bitcoin node is required in order to know for each address 
 if it has been used. Pruning occurs only at the level of the Electrum database.
-txindex=1 however is *not* needed!
 
 __________________________________________________________