Generic:
- Digibyte >=6.16.5
- Python >=2.6
- Twisted >=10.0.0
- python-argparse (for Python =2.6)
Linux:
- sudo apt-get install python-zope.interface python-twisted python-twisted-web
- sudo apt-get install python-argparse # if on Python 2.6
Windows:
- Install Python 2.7: http://www.python.org/getit/
- Install Twisted: http://twistedmatrix.com/trac/wiki/Downloads
- Install Zope.Interface: http://pypi.python.org/pypi/zope.interface/3.8.0
- Install python win32 api: http://sourceforge.net/projects/pywin32/files/pywin32/Build%20218/
- Install python win32 api wmi wrapper: https://pypi.python.org/pypi/WMI/#downloads
- Unzip the files into C:\Python27\Lib\site-packages
https://en.bitcoin.it/wiki/P2Pool
git submodule init
git submodule update
cd digibyte_subsidy
sudo python setup.py install
To use P2Pool, you must be running your own local digibyted. Sample configuration for the DGB daemon with a pruned blockchain: rpcuser=rpc_login rpcpassword=rpc_password prune=2048 listenonion=0 listen=1 daemon=1 server=1 algo=sha256d onlynet=IPv4 rpcworkqueue=32 rpcthreads=96 rpcallowip=127.0.0.1 rpcport=14023 port=12025
For standard configurations, using P2Pool should be as simple as:
To run 1st network: python run_p2pool.py --net digibyte
To run 2nd network: python run_p2pool.py --net digibyte2
To make your node accessible from the internet, open the following ports on your router (both the worker port and peer-2-peer port please!): For 1st network: Worker Port = 5027; Peer-2-Peer Port = 5026 For 2nd network: Worker Port = 5030; Peer-2-Peer Port = 5031
Run for additional options:
python run_p2pool.py --help
BTC: 1HNeqi3pJRNvXybNX4FKzZgYJsdTSqJTbk 17Vq6qwfE1epzsgEfSw81pQX3gXo9ZN4ET DGB: DTvN7hB8dXEVLNjvEkCaEm34AXb8LpxmKM