For a future network with bigger blocks.
Licence: MIT Language: Python (>= 3.6) Author: Neil Booth
sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python3 python3-zmq zlib1g-dev curl bsdmainutils automake libtinfo5 python3.6 python3.6-dev python3-pyqt5 python3-setuptools pyqt5-dev-tools protobuf-compiler python-requests gettext python3-pip python3-dev python3-pip python3-venv python3-wheel rocksdb-tools librocksdb5.17 librocksdb-dev libsnappy-dev liblz4-dev libbz2-dev
pip3 install python-rocksdb
#Install Python 3.8 (This only works on 3.8)
sudo add-apt-repository ppa:deadsnakes/ppa -y sudo apt update sudo apt install python3.8 sudo apt-get install python3.8* python3.8 setup.py build sudo python3.8 setup.py install
mkdir ~/electrumx-zclassic_db
SystemD File /etc/systemd/system/electrum-zclassic.service =============
[Unit]
[Service] EnvironmentFile=/etc/electrumx.conf ExecStart=python3.8 /home/eightball/electrumx-zclassic/electrumx_server.py User=eightball LimitNOFILE=8192 TimeoutStopSec=30min
[Install] WantedBy=multi-user.target
Config File cat /etc/electrumx.conf =============
# Required DB_DIRECTORY=/home/eightball/electrumx-zclassic_db
DAEMON_URL = zcluser:zclpass@127.0.0.1
SERVICES = tcp://0.0.0.0:50001
COIN = Zclassic
PEER_DISCOVERY = on
See `docs/HOWTO.rst`_. There is also an installer available that simplifies the installation on various Linux-based distributions. There is also a Dockerfile available .
See readthedocs.