Post
Topic
Board Announcements (Altcoins)
Re: [ANN] SOMA :: CPU Mining :: RARE | No Premine //LAUNCHED!//
by
360998186
on 02/02/2014, 14:18:46 UTC
for more p2pool should share the info of files network.py someone to correct me?

thank you

/p2pool-quarkcoin/p2pool/networks.py


 
Code:
  somacoin=math.Object(
        PARENT=networks.nets['quarkcoin'],
        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=50, # shares  //with that the pools share diff is adjusting faster, important if huge hashing power comes to the pool
        SPREAD=30, # blocks
        NEW_SPREAD=30, # blocks
        IDENTIFIER='fc70135c7a81bc6f'.decode('hex'),
        PREFIX='9472ef181efcd37b'.decode('hex'),
        P2P_PORT=12533,
        MIN_TARGET=0,
        MAX_TARGET=2**256//2**20 - 1,
        PERSIST=False,
        WORKER_PORT=12633,
        BOOTSTRAP_ADDRS=''.split(' '),
        #ANNOUNCE_CHANNEL='#p2pool',
        VERSION_CHECK=lambda v: True,
    ),


/p2pool-quarkcoin/p2pool/bitcoin/networks.py

Code:
    somacoin=math.Object(
        P2P_PREFIX=''.decode('hex'),
        P2P_PORT=12533,
        ADDRESS_VERSION=58,
        RPC_PORT=12633,
        RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
            'quarkcoinaddress' in (yield bitcoind.rpc_help()) and
            not (yield bitcoind.rpc_getinfo())['testnet']
        )),
        SUBSIDY_FUNC=lambda height: 2048*100000000 >> (height + 1)//60480,
        BLOCKHASH_FUNC=lambda data: pack.IntType(256).unpack(__import__('quark_hash').getPoWHash(data)),
        POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('quark_hash').getPoWHash(data)),
        BLOCK_PERIOD=30, # s
        SYMBOL='SOMA',
        CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'Quarkcoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Appli$
        BLOCK_EXPLORER_URL_PREFIX='http://176.221.46.81/block/',
        ADDRESS_EXPLORER_URL_PREFIX='http://176.221.46.81/address/',
        SANE_TARGET_RANGE=(2**256//2**32//1000 - 1, 2**256//2**20 - 1),
        DUMB_SCRYPT_DIFF=1,
        DUST_THRESHOLD=0.001e8,
    ),


(excuse me for my english i'm french Wink )

Is is a p2pool for windows OS?