Hi All,
I'm trying to setup a lotto pool for my rigs to connect to verse pooled. Thus far, i only have one talking directly to my wallet and things appear to be going okay. I'm trying to setup a program that will allow my other 5 rigs to mine lotto
so.. I tried p2pool and when i ./run_p2pool.py --net lottocoin im getting
2014-01-30 17:15:18.362871 Testing bitcoind RPC connection to '
http://127.0.0.1:16384/' with username 'ottocoinrpc'...
2014-01-30 17:15:18.365503 > Check failed! Make sure that you're connected to the right bitcoind with --bitcoind-rpc-port!
my p2pool/networks.py
lottocoin=math.Object(
PARENT=networks.nets['lottocoin'],
SHARE_PERIOD=5, # seconds
CHAIN_LENGTH=24*60*60//10, # shares
REAL_CHAIN_LENGTH=24*60*60//10, # shares
TARGET_LOOKBEHIND=200, # shares
SPREAD=60, # blocks
IDENTIFIER='e037d5b8c6923410'.decode('hex'),
PREFIX='7208c1a53ef629b0'.decode('hex'),
P2P_PORT=3338,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=3337,
BOOTSTRAP_ADDRS=''.split(' '),
ANNOUNCE_CHANNEL='#p-alt',
VERSION_CHECK=lambda v: True,
),
my p2pool/bitcoin/networks.py
lottocoin=math.Object(
P2P_PREFIX='a5fdb6c1'.decode('hex'),
P2P_PORT=16383,
ADDRESS_VERSION=49,
RPC_PORT=16384,
RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
'LottoCoin address' in (yield bitcoind.rpc_help()) and
not (yield bitcoind.rpc_getinfo())['testnet']
)),
SUBSIDY_FUNC=lambda height: 50*100000000 >> (height + 1)//259200,
POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
BLOCK_PERIOD=150, # s
SYMBOL='LOT',
CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'Lottocoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/Lottocoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.lottocoin'), 'lottocoin.conf'),
BLOCK_EXPLORER_URL_PREFIX='http://www.lottocoin.info/block/',
ADDRESS_EXPLORER_URL_PREFIX='http://www.lottocoin.info/address/',
SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
DUMB_SCRYPT_DIFF=2**16,
),