X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=README.leveldb;h=70c7626d2d546f23ed677748f473ef3302ec68bc;hb=61254c013ad6d134e9039380476f78798d49218e;hp=3e94d36b034e3ee844b1452de18b097d4c7f8365;hpb=e23814bf5b18f1f6983606e5b1ee01a43acc9d2a;p=electrum-server.git diff --git a/README.leveldb b/README.leveldb index 3e94d36..70c7626 100644 --- a/README.leveldb +++ b/README.leveldb @@ -4,22 +4,23 @@ 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. - -Install version 0.8 or equivalent. -Patch it with the patch distributed with Electrum. +1. Run novacoind. -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. +Install version 0.4.4.6u5 or higher. Previous versions won't provide sufficient getblock/getblockbynumber functionality. __________________________________________________________ 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 +60,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: @@ -67,4 +69,13 @@ Other commands are available: ./server load : view the size of the queue +______________________ +Troubleshooting: + +* if your server or novacoind is killed because is uses too much +memory, configure novacoind to limit the number of connections + +* if you see "Too many open files" errors, you may need to increase +your user's File Descriptors limit. For this, see +http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/