we need more p2pool nodes, so here are what you have to edit to run
https://github.com/forrestv/p2pool for LeproCoin
insert this in p2pool/networks.py
leprocoin=math.Object(
PARENT=networks.nets['leprocoin'],
SHARE_PERIOD=3, # seconds
CHAIN_LENGTH=24*60*60//3, # shares
REAL_CHAIN_LENGTH=24*60*60/3, # shares
TARGET_LOOKBEHIND=100, # shares
SPREAD=120, # blocks
IDENTIFIER='e037d5b8c6995610'.decode('hex'),
PREFIX='7208c1a53efe74b0'.decode('hex'),
P2P_PORT=9131,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9130,
BOOTSTRAP_ADDRS='213.239.215.146'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
VERSION_WARNING=lambda v: 'Upgrade Leprocoin to >=0.6.3.0!' if v < 60300 else None,
),
add this in p2pool/bitcoin/networks.py
leprocoin=math.Object(
P2P_PREFIX='fcd9b7dd'.decode('hex'),
P2P_PORT=9030,
ADDRESS_VERSION=70,
RPC_PORT=9031,
RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
'leprocoin address' in (yield bitcoind.rpc_help()) and
not (yield bitcoind.rpc_getinfo())['testnet']
)),
SUBSIDY_FUNC=lambda height: 50*100000000 >> (height + 1)//840000,
POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
BLOCK_PERIOD=15, # s
SYMBOL='LPC',
CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'Leprocoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/Leprocoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.leprocoin'), 'leprocoin.conf'),
BLOCK_EXPLORER_URL_PREFIX='http://lpc.cryptochain.net/block/',
ADDRESS_EXPLORER_URL_PREFIX='http://lpc.cryptochain.net/address/',
TX_EXPLORER_URL_PREFIX='http://lpc.cryptochain.net/tx/',
SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
DUMB_SCRYPT_DIFF=2**16,
DUST_THRESHOLD=0.03e8,
),
then you can start the pool with:
nohup python run_p2pool.py --net leprocoin --address yourwalletadress --give-author 0 -f 1 walletRPCuser walletRPCpassword &
Donations:
LPC: VZt3ChHCz7y682cGBy5M2LxnJuzD7ucCG6 LTC: LaUvf6tierSXnDdPbP1p2DTyDXAr1MdJ9m BTC: 1BdE6KiiaGJwaghEc4Em5t5izHEJngphWq