Jump to content
Sign in to follow this  
RuMiner

Нужна консультация по p2pool

Recommended Posts

Пытаюсь настроить пул для нового форка, но все стопорится на

...taking a while. Common reasons for this include all of bitcoind's connection slots being used...

 

Настройки файлов networks.py:

p2pool-inc\p2pool\networks.py

    investmentcoin=math.Object(
        PARENT=networks.nets['investmentcoin'],
        SHARE_PERIOD=60, # seconds
        CHAIN_LENGTH=24*60*60//10, # shares
        REAL_CHAIN_LENGTH=24*60*60//10, # shares
        TARGET_LOOKBEHIND=200, # shares
        SPREAD=3, # blocks
        IDENTIFIER='4a65a174e8a57221'.decode('hex'),
        PREFIX='b131010ba6d4729a'.decode('hex'),
        P2P_PORT=9333,
        MIN_TARGET=0,
        MAX_TARGET=2**256//2**32 - 1,
        PERSIST=True,
        WORKER_PORT=9332,
        BOOTSTRAP_ADDRS='coinminer.sytes.net:8338'.split(' '),
        ANNOUNCE_CHANNEL='#p2pool-alt',
        VERSION_CHECK=lambda v: True,
    ),

p2pool-inc\p2pool\bitcoin\networks.py

    investmentcoin=math.Object(
        P2P_PREFIX='fbc0b6db'.decode('hex'),
        P2P_PORT=8332,
        ADDRESS_VERSION=0,
        RPC_PORT=8337,
        RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
            'investmentcoinaddress' in (yield bitcoind.rpc_help()) and
            not (yield bitcoind.rpc_getinfo())['testnet']
        )),
        SUBSIDY_FUNC=lambda height: 100*100000000 >> (height + 1)//105000,
        POW_FUNC=data.hash256,
        BLOCK_PERIOD=60, # s
        SYMBOL='INC',
        CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'Investmentcoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/Investmentcoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.investmentcoin'), 'investmentcoin.conf'),
        BLOCK_EXPLORER_URL_PREFIX='',
        ADDRESS_EXPLORER_URL_PREFIX='',
        TX_EXPLORER_URL_PREFIX='',
        SANE_TARGET_RANGE=(2**256//2**32//1000 - 1, 2**256//2**32 - 1),
        DUMB_SCRYPT_DIFF=1,
        DUST_THRESHOLD=0.001e8,
    ),

Порты менял, увеличивал число максимальных подключений, пересобирал клиента из исходников, пробовал и под Windows и под Linux. Ничего не выходит.

 

Может кто посоветовать как побороть эту заразу?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...