X-Git-Url: https://git.novaco.in/?p=electrum-server.git;a=blobdiff_plain;f=README.leveldb;h=4aa5f18114d7e73a2f235b2f944583ad9faef70b;hp=b8120137efac3da84b6996903a9239a7aa4a4ec8;hb=a126aaa670bcc2e40691c4cf91c601b8812150b3;hpb=d375c46aacb6dc01fc2011f9889dcbb440d817f1 diff --git a/README.leveldb b/README.leveldb index b812013..4aa5f18 100644 --- a/README.leveldb +++ b/README.leveldb @@ -4,22 +4,31 @@ 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 pruning bitcoind. 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. +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. __________________________________________________________ 2. Install python-leveldb: +Starting at Ubuntu 12.10 you can use apt to install leveldb. If you +rather stay on 12.04 LTS you can use the backport and add +"deb http://archive.ubuntu.com/ubuntu precise-backports main restricted universe" +to your sources file. Install the package with: + sudo apt-get install python-leveldb alternatively build yourself, see @@ -59,7 +68,8 @@ _________________________________ 5. enjoy! Once the server is synchronized, it will listen to ports, and the -normal way to stop it is to type: ./server.py stop +normal way to stop it is to use the 'stop' script. This script will +wait until the database is closed. Other commands are available: