Getting SetupΒΆ
The only external service PowerPool relies on in is Redis.
sudo apt-get install redis-server
Setup a virtualenv and install...
mkvirtualenv pp # if you've got virtualenvwrapper...
# Install all of powerpools dependencies
pip install -r requirements.txt
# Install powerpool
pip install -e .
# Install the hashing algorithm modules
pip install vtc_scrypt # for scryptn support
pip install drk_hash # for x11 support
pip install ltc_scrypt # for scrypt support
pip install git+https://github.com/BlueDragon747/Blakecoin_Python_POW_Module.git@e3fb2a5d4ea5486f52f9568ffda132bb69ed8772#egg=blake_hash
Now copy config.yml.example
to config.yml
. Fill out all required fields
and you should be good to go for testing.
pp config.yml
And now your stratum server is running. Point a miner at it on
localhost:3333
(or more specifically, stratum+tcp://localhost:3333
and
do some mining. View server health on the monitor port at
http://localhost:3855
. Various events will be getting logged into RabbitMQ
to be picked up by a celery worker. See Simple Coin for a reference implementation
of Celery task handler.