Hello all ! If anyone else is interested in setting up their own p2pool and link it up to existing p2pool nodes then please use these settings, I operate
http://dutchpool.orgAs a basis you should get Ghostlanders p2pool version at
https://github.com/ghostlander/p2pool-neoscryptNext add 1 file under p2pool/networks/ with the below settings in it, call it ufo.py :
from p2pool.bitcoin import networks
PARENT = networks.nets['ufo']
SHARE_PERIOD = 15 # seconds
CHAIN_LENGTH = 60*60//15 # shares
REAL_CHAIN_LENGTH = 60*60//15 # shares
TARGET_LOOKBEHIND = 200 # shares
SPREAD = 40 # blocks
IDENTIFIER = 'fc656266636f696e'.decode('hex')
PREFIX = 'fe636e696e6c656a'.decode('hex')
P2P_PORT = 18720
MIN_TARGET = 0
MAX_TARGET = 2**256//2**20 - 1
PERSIST = False
WORKER_PORT = 19720
BOOTSTRAP_ADDRS = 'dutchpool.org'.split(' ')
ANNOUNCE_CHANNEL = '#p2pool-alt'
VERSION_CHECK = lambda v: True
Then add another file under p2pool/bitcoin/networks/, call it also ufo.py and put the below settings in it:
import os
import platform
from twisted.internet import defer
from .. import data, helper
from p2pool.util import pack
P2P_PREFIX = 'fcd9b7dd'.decode('hex') #pchmessagestart
P2P_PORT = 9887
ADDRESS_VERSION = 27 #pubkey_address
RPC_PORT = 9888
RPC_CHECK = defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
'ufoaddress' in (yield bitcoind.rpc_help()) and
not (yield bitcoind.rpc_getinfo())['testnet']
))
SUBSIDY_FUNC = lambda height: 5000*100000000
POW_FUNC = lambda data: pack.IntType(256).unpack(__import__('neoscrypt').getPoWHash(data))
BLOCK_PERIOD = 90 # s
SYMBOL = 'UFO'
CONF_FILE_FUNC = lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'ufo') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/ufo/') if platform.system() == 'Darwin' else os.path.expanduser('~/.ufo'), 'ufo.conf')
BLOCK_EXPLORER_URL_PREFIX = '
http://ufo.cryptocoinexplorer.com/block/'
ADDRESS_EXPLORER_URL_PREFIX = '
http://ufo.cryptocoinexplorer.com/address/'
TX_EXPLORER_URL_PREFIX = '
http://ufo.cryptocoinexplorer.com/tx/'
SANE_TARGET_RANGE = (2**256//1000000000 - 1, 2**256//1000 - 1)
DUMB_SCRYPT_DIFF = 2**16
DUST_THRESHOLD = 0.03e8
As you can see this p2pool setup uses port 19720 as a worker port and 18720 as p2pool's p2p port, for p2pool nodes to successfully communicate and exchange data you have to open port 18720 on your firewall, you can open port 19720 if you wish to have other miners connecting to your node.
One important note to people that want to mine on any p2pool node, make sure you use a
VALID receive address as your username, otherwise you will not receive any coins.