• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

P2Pool P2Pool repository and python modules

What should be relevant to the string ADDRESS_VERSION?

Code:
    darkcoin=math.Object(
        P2P_PREFIX='bf0c6bbd'.decode('hex'),
        P2P_PORT=9999,
        ADDRESS_VERSION=76,
        RPC_PORT=9998,
        RPC_CHECK=defer.inlineCallbacks(lambda darkcoind: defer.returnValue(
            'darkcoinaddress' in (yield darkcoind.rpc_help()) and
            not (yield darkcoind.rpc_getinfo())['testnet']
        )),
        SUBSIDY_FUNC=lambda nBits, height: __import__('darkcoin_subsidy').GetBlockBaseValue(nBits, height),
        BLOCKHASH_FUNC=lambda data: pack.IntType(256).unpack(__import__('darkcoin_hash').getPoWHash(data)),
        POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('darkcoin_hash').getPoWHash(data)),
        BLOCK_PERIOD=150, # s
        SYMBOL='DRK',
        CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'Darkcoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/Darkcoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.darkcoin'), 'darkcoin.conf'),
        BLOCK_EXPLORER_URL_PREFIX='http://explorer.darkcoin.io/block/',
        ADDRESS_EXPLORER_URL_PREFIX='http://explorer.darkcoin.io/address/',
        TX_EXPLORER_URL_PREFIX='http://explorer.darkcoin.io/tx/',
        SANE_TARGET_RANGE=(2**256//2**32//1000 - 1, 2**256//2**20 - 1),
        DUMB_SCRYPT_DIFF=1,
        DUST_THRESHOLD=0.001e8,
    ),
 
What should be relevant to the string ADDRESS_VERSION?

Code:
    darkcoin=math.Object(
        P2P_PREFIX='bf0c6bbd'.decode('hex'),
        P2P_PORT=9999,
        ADDRESS_VERSION=76,
        RPC_PORT=9998,
        RPC_CHECK=defer.inlineCallbacks(lambda darkcoind: defer.returnValue(
            'darkcoinaddress' in (yield darkcoind.rpc_help()) and
            not (yield darkcoind.rpc_getinfo())['testnet']
        )),
        SUBSIDY_FUNC=lambda nBits, height: __import__('darkcoin_subsidy').GetBlockBaseValue(nBits, height),
        BLOCKHASH_FUNC=lambda data: pack.IntType(256).unpack(__import__('darkcoin_hash').getPoWHash(data)),
        POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('darkcoin_hash').getPoWHash(data)),
        BLOCK_PERIOD=150, # s
        SYMBOL='DRK',
        CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'Darkcoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/Darkcoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.darkcoin'), 'darkcoin.conf'),
        BLOCK_EXPLORER_URL_PREFIX='http://explorer.darkcoin.io/block/',
        ADDRESS_EXPLORER_URL_PREFIX='http://explorer.darkcoin.io/address/',
        TX_EXPLORER_URL_PREFIX='http://explorer.darkcoin.io/tx/',
        SANE_TARGET_RANGE=(2**256//2**32//1000 - 1, 2**256//2**20 - 1),
        DUMB_SCRYPT_DIFF=1,
        DUST_THRESHOLD=0.001e8,
    ),

Address versoin is 76, what's your question again?
 
Thank you, I have not been able to find.
Vertoe, please see the changes in the github. I completely untethered version of Bitcoin.
I am sorry for my english. translate.google.ru :rolleyes:
 
Thank you, I have not been able to find.
Vertoe, please see the changes in the github. I completely untethered version of Bitcoin.
I am sorry for my english. translate.google.ru :rolleyes:
Totally OK! I already like your pull request. Will take some more time to review it though, maybe later tonight.

Thanks again.
 
which page are you referring to? I just checked 3 p2pool block lists with the link you provided and they are matching, latest p2pool block currently is 211389.
I was too fast to worry while 211274 and 211304 are not shown. Now, latest 4 block of the list is matched.
:)
 
vertoe mr.slaveg, please kindly be informed that all testnet p2pool is not working.. :)
BTW, with v0.11.1.17 , there are some errors occurred while running p2pool ,
please kindly check.
Thank you so much for your works. :)
 
Back
Top