how setup p2pool gemecredits? help!!!

max
Posts: 2
Joined: Fri Nov 13, 2015 12:30 pm

how setup p2pool gemecredits? help!!!

Postby max » Fri Nov 13, 2015 1:29 pm

I wanted to create node p2pool windows. I found the file gamecredits.py
import os
import platform

from twisted.internet import defer

from .. import data, helper
from p2pool.util import pack


P2P_PREFIX = 'fbc0b6db'.decode('hex')
P2P_PORT = 40002
ADDRESS_VERSION = 38
RPC_PORT = 40001
RPC_CHECK = defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
'gamecreditsaddress' in (yield bitcoind.rpc_help()) and
not (yield bitcoind.rpc_getinfo())['testnet']
))
SUBSIDY_FUNC = lambda height: 25*100000000 >> (height + 1)//840000
POW_FUNC = lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data))
BLOCK_PERIOD = 90 # s
SYMBOL = 'GMC'
CONF_FILE_FUNC = lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'gamecredit') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/gamecredit/') if platform.system() == 'Darwin' else os.path.expanduser('~/.gamecredit'), 'gamecredit.conf')
BLOCK_EXPLORER_URL_PREFIX = 'http://gmc.cryptocloudhosting.org:3001/block/'
ADDRESS_EXPLORER_URL_PREFIX = 'http://gmc.cryptocloudhosting.org:3001/address/'
TX_EXPLORER_URL_PREFIX = 'http://gmc.cryptocloudhosting.org:3001/tx/'
SANE_TARGET_RANGE = (2**256//100000000 - 1, 2**256//1000 - 1)
DUMB_SCRYPT_DIFF = 2**16
DUST_THRESHOLD = 0.03e8


from p2pool.bitcoin import networks

PARENT = networks.nets['gamecredits']
SHARE_PERIOD = 15 # seconds
NEW_SHARE_PERIOD = 15 # seconds
CHAIN_LENGTH = 24*60*60//10 # shares
REAL_CHAIN_LENGTH = 24*60*60//10 # shares
TARGET_LOOKBEHIND = 60 # shares
SPREAD = 150 # blocks
NEW_SPREAD = 150 # blocks
IDENTIFIER = '5a1a4884fb33717d'.decode('hex')
PREFIX = '878022b63d4b7ea2'.decode('hex')
P2P_PORT = 40003
MIN_TARGET = 0
MAX_TARGET = 2**256//2**20 - 1
PERSIST = False
WORKER_PORT = 40004
BOOTSTRAP_ADDRS = ' '.split(' ')
ANNOUNCE_CHANNEL = '#p2pool-gmc'
VERSION_CHECK = lambda v: True
VERSION_WARNING = lambda v: 'Upgrade GameCredits to >= 0.9.4.3!' if v < 90403 else None


When you start, it produces a type error.
c:\python27\python.exe run_p2pool.py --give-author 0 --net gamecredits --bitcoind-rpc-port 40001 --bitcoind-p2p-port 40002 xxx maxsk -a GSKug75ReAjfmvtC1BG2UAWWHGVV7EANHK --fee 0
.....taking a while. Common reasons for this include all of bitcoind's connection slots being used

Help me to understand
gamecredits programmers can solve this problem?
User avatar
ecucoin
Posts: 14
Joined: Sun Jun 14, 2015 7:09 pm
Location: Antwerp, Belgium

Re: how setup p2pool gemecredits? help!!!

Postby ecucoin » Fri Nov 13, 2015 7:37 pm

p2pool is not really used in GameCredits.
Most pools use php-mpos, nomp or unomp.

This also means we have little or no knowledge about running p2pool mining pools.

you could find help from the p2pool community or look into the pool software mentioned above.
max
Posts: 2
Joined: Fri Nov 13, 2015 12:30 pm

Re: how setup p2pool gemecredits? help!!!

Postby max » Sat Nov 14, 2015 2:42 pm

ok, thanks for the response and information
User avatar
ecucoin
Posts: 14
Joined: Sun Jun 14, 2015 7:09 pm
Location: Antwerp, Belgium

Re: how setup p2pool gemecredits? help!!!

Postby ecucoin » Sun Nov 15, 2015 4:50 am

CONF_FILE_FUNC = lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'gamecredit') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/gamecredit/') if platform.system() == 'Darwin' else os.path.expanduser('~/.gamecredit'), 'gamecredit.conf')

references gamecredit instead of gamecredits

Return to “Mining”

Who is online

Users browsing this forum: No registered users and 1 guest