summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--electrumx.conf36
3 files changed, 9 insertions, 35 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 69b6b0ad8e75..dedfd3dbc168 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = electrumx
pkgdesc = Server implementation for the Electrum wallet
pkgver = 1.10.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/kyuupichan/electrumx
install = electrumx.install
arch = any
@@ -24,7 +24,7 @@ pkgbase = electrumx
source = electrumx.conf
source = electrumx.service
sha256sums = e6a234785951dd833a245b3e6e6e528a084869bd034e5a7067bb7b7ab608d739
- sha256sums = f13119ac93e6e05203f9d5dae5e737ec718ca5c829b0b6b73b0761587ae651b7
+ sha256sums = f6562ddc7850be7f01a7a2428028093546d4eff2d6f5750e41124d9488dac89c
sha256sums = ece0696dc82e0159d9a266834e6e9e1e518caa68e6f145d262b291e1fc09d67e
pkgname = electrumx
diff --git a/PKGBUILD b/PKGBUILD
index fbb1df2585ac..c2a3e1031a4f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=electrumx
pkgver=1.10.1
-pkgrel=1
+pkgrel=2
pkgdesc="Server implementation for the Electrum wallet"
arch=('any')
depends=('leveldb'
@@ -24,7 +24,7 @@ source=($pkgname-$pkgver.tar.gz::https://codeload.github.com/kyuupichan/$pkgname
'electrumx.conf'
'electrumx.service')
sha256sums=('e6a234785951dd833a245b3e6e6e528a084869bd034e5a7067bb7b7ab608d739'
- 'f13119ac93e6e05203f9d5dae5e737ec718ca5c829b0b6b73b0761587ae651b7'
+ 'f6562ddc7850be7f01a7a2428028093546d4eff2d6f5750e41124d9488dac89c'
'ece0696dc82e0159d9a266834e6e9e1e518caa68e6f145d262b291e1fc09d67e')
backup=('etc/electrumx/electrumx.conf'
'usr/lib/systemd/system/electrumx.service')
diff --git a/electrumx.conf b/electrumx.conf
index 7ff5d283dcab..b82fd7ca355c 100644
--- a/electrumx.conf
+++ b/electrumx.conf
@@ -1,8 +1,6 @@
#suggested /etc/electrumx.conf for systemd
-#
#REQUIRED
-#
#The folder to store the electrumx database
DB_DIRECTORY = /srv/electrumx
@@ -18,9 +16,12 @@
#port is optional, defaults to COIN RPC default
DAEMON_URL = http://bitcoin:secret@127.0.0.1:8332/
-#
+ #Which cryptocurrency to process
+ #See lib/coins.py
+ COIN = BitcoinSegwit
+ NET = mainnet
+
#REQUIRED FOR PUBLIC VISIBILITY
-#
#listen on interface and ports (0.0.0.0 is any)
HOST = 127.0.0.1
@@ -31,9 +32,7 @@
SSL_CERTFILE = /etc/electrumx/server.cert
SSL_KEYFILE = /etc/electrumx/server.pem
-#
#OPTIONAL VISIBILITY
-#
#BANNER_FILE = /path/to/banner
#DONATION_ADDRESS =
@@ -42,32 +41,7 @@
#REPORT_SSL_PORT = #defaults to SSL_PORT
#RPC_PORT = 8000
-#
#MISC
-#
- #lib/coins.py
- COIN = BitcoinSegwit
- NET = mainnet
-
- #leveldb or rocksdb (You'll need to install appropriate python packages)
- DB_ENGINE = leveldb
-
- #maximum number of blocks to be able to handle in a chain
- #reorganisation. ElectrumX retains some fairly compact
- #undo information for this many blocks in levelDB.
- #REORG_LIMIT = 200
#Set to anything non-empty to remove IP addresses from logs.
ANON_LOGS = yes
-
-
-#These following environment variables are to help limit server
-#resource consumption and to prevent simple DoS. Address subscriptions
-#in ElectrumX are very cheap - they consume about 100 bytes of memory
-#each and are processed efficiently. I feel the defaults are low and
-#encourage you to raise them.
-
- #Maximum number of address subscriptions across all sessions
- MAX_SUBS = 250000
- #Maximum number of address subscriptions permitted to a single session.
- MAX_SESSION_SUBS = 50000