@@ -96,7 +96,7 @@ to your `.bashrc`, `.profile`, or `.bash_profile`, then logout and relogin:
96
96
We currently recommend bitcoin core 0.13.2 stable. If your package manager does not supply
97
97
a recent bitcoind or you prefer to compile it yourself, here are some pointers for Ubuntu:
98
98
99
- $ sudo apt-get install make g++ python-leveldb libboost-all-dev libssl-dev libdb++-dev pkg-config libevent-dev
99
+ $ sudo apt-get install make bsdmainutils g++ python-leveldb libboost-all-dev libssl-dev libdb++-dev pkg-config libevent-dev
100
100
$ sudo su - bitcoin
101
101
$ cd ~/src && wget https://bitcoin.org/bin/bitcoin-core-0.13.2/bitcoin-0.13.2.tar.gz
102
102
$ sha256sum bitcoin-0.13.2.tar.gz | grep 621201189c0409cb17a5073278872dcdcfff1ea147ead6958b55e94416b896d7
@@ -120,7 +120,10 @@ Write this in `bitcoin.conf`:
120
120
121
121
daemon=1
122
122
txindex=1
123
- maxconnections=8
123
+
124
+ rpcuser / rpcpassword options are only needed for non-localhost connections.
125
+ you can consider setting maxconnections if you want to reduce bitcoind bandwidth
126
+ (as stated above)
124
127
125
128
If you have an existing installation of bitcoind and have not previously
126
129
set txindex=1 you need to reindex the blockchain by running
@@ -283,14 +286,14 @@ If you intend to run the server publicly have a look at README-IRC.md
283
286
284
287
Electrum server currently needs quite a few file handles to use leveldb. It also requires
285
288
file handles for each connection made to the server. It's good practice to increase the
286
- open files limit to 64k .
289
+ open files limit to 128k .
287
290
288
291
The "configure" script will take care of this and ask you to create a user for running electrum-server.
289
292
If you're using the user ` bitcoin ` to run electrum and have added it as shown in this document, run
290
293
the following code to add the limits to your /etc/security/limits.conf:
291
294
292
- echo "bitcoin hard nofile 65536 " >> /etc/security/limits.conf
293
- echo "bitcoin soft nofile 65536 " >> /etc/security/limits.conf
295
+ echo "bitcoin hard nofile 131072 " >> /etc/security/limits.conf
296
+ echo "bitcoin soft nofile 131072 " >> /etc/security/limits.conf
294
297
295
298
If you are on Debian > 8.0 Jessie or another distribution based on it, you also need to add these lines in /etc/pam.d/common-session and /etc/pam.d/common-session-noninteractive otherwise the limits in /etc/security/limits.conf will not work:
296
299
0 commit comments