Upgrade to ElectrumX 1.8.7 (#10)
* Update to version 1.8.7 of ElectrumX * Upgrade to Python 3.7 This is suggested in the release notes of ElectrumX: "It is strongly recommended you upgrade to Python 3.7, which fixes bugs in asyncio that caused an ever-growing open file count and memory consumption whilst serving clients. Those problems should not occur with Python 3.7." * Remove .py from the file to execute * Rename Bitcoin to BitcoinSegwit as required by ElectrumX * Travis to check version from new path
This commit is contained in:
parent
66bdd0ca4d
commit
0e68da0497
@ -1,7 +1,7 @@
|
||||
sudo: required
|
||||
services:
|
||||
- docker
|
||||
script: docker build -t electrumx . && ( docker run electrumx cat /electrumx/server/version.py | tee /dev/stderr | grep -q "'ElectrumX $(cat VERSION)'" ) 2>&1
|
||||
script: docker build -t electrumx . && ( docker run electrumx cat /electrumx/electrumx/__init__.py | tee /dev/stderr | grep -q "'ElectrumX $(cat VERSION)'" ) 2>&1
|
||||
notifications:
|
||||
email:
|
||||
on_success: never
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
FROM python:3.6-alpine3.6
|
||||
FROM python:3.7-alpine3.7
|
||||
LABEL maintainer="Luke Childs <lukechilds123@gmail.com>"
|
||||
|
||||
COPY ./bin /usr/local/bin
|
||||
|
||||
@ -15,7 +15,7 @@ An easily configurable Docker image for running an Electrum server.
|
||||
docker run \
|
||||
-v /home/username/electrumx:/data \
|
||||
-e DAEMON_URL=http://user:pass@host:port \
|
||||
-e COIN=Bitcoin \
|
||||
-e COIN=BitcoinSegwit \
|
||||
-p 50002:50002 \
|
||||
lukechilds/electrumx
|
||||
```
|
||||
|
||||
2
bin/init
2
bin/init
@ -4,4 +4,4 @@ if [ ! -e "${SSL_CERTFILE}" ] || [ ! -e "${SSL_KEYFILE}" ]; then
|
||||
openssl req -newkey rsa:2048 -sha256 -nodes -x509 -days 365 -subj "/O=ElectrumX" -keyout "${SSL_KEYFILE}" -out "${SSL_CERTFILE}"
|
||||
fi
|
||||
|
||||
exec /electrumx/electrumx_server.py
|
||||
exec /electrumx/electrumx_server
|
||||
|
||||
Loading…
Reference in New Issue
Block a user