i dont have the time as yet to edit the coding of p2pool for sexcoin, but if any of you guys have p2pool for it and are willing to share, ill add it to my list of other p2pools @
http://www2.crypto-expert.com:19996/static/I was working on it, so far I have:
added to networks.py file
sexcoin=math.Object(
PARENT=networks.nets['sexcoin'],
SHARE_PERIOD=10, # seconds
NEW_SHARE_PERIOD=15, # seconds
CHAIN_LENGTH=24*60*60//10, # shares
REAL_CHAIN_LENGTH=24*60*60//10, # shares
TARGET_LOOKBEHIND=200, # shares
SPREAD=30, # blocks
NEW_SPREAD=3, # blocks
IDENTIFIER='e037d5b8c6923410'.decode('hex'),
PREFIX='7208c1a53ef629b0'.decode('hex'),
P2P_PORT=9562,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=9563,
BOOTSTRAP_ADDRS=''.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
added to bitcoin/networks.py
sexcoin=math.Object(
P2P_PREFIX='fbc0b6db'.decode('hex'),
P2P_PORT=9560,
ADDRESS_VERSION=62,
RPC_PORT=9561,
RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
'sexcoinaddress' in (yield bitcoind.rpc_help()) and
not (yield bitcoind.rpc_getinfo())['testnet']
)),
SUBSIDY_FUNC=lambda height: 50*100000000 >> (height + 1)//600000,
POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
BLOCK_PERIOD=150, # s
SYMBOL='SXC',
CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'sexcoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/sexcoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.sexcoin'), 'sexcoin.conf'),
BLOCK_EXPLORER_URL_PREFIX='
http://127.0.0.1:2750/block/',
ADDRESS_EXPLORER_URL_PREFIX='
http://127.0.0.1:2750/address/',
SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
DUMB_SCRYPT_DIFF=2**16,
DUST_THRESHOLD=0.03e8,
),