StableCoin=math.Object(
PARENT=networks.nets['StableCoin'],
SHARE_PERIOD=45,
CHAIN_LENGTH=24*60*60//10,
REAL_CHAIN_LENGTH=24*60*60//10,
TARGET_LOOKBEHIND=200,
SPREAD=90,
IDENTIFIER='e021a7b8c60242af'.decode('hex'),
PREFIX='b6c0601991aa19a2'.decode('hex'),
P2P_PORT=17779,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=17777,
BOOTSTRAP_ADDRS='',
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
StableCoin=math.Object(
P2P_PREFIX='fcc3b4da'.decode('hex'),
P2P_PORT=17500,
ADDRESS_VERSION=125,
RPC_PORT=17501,
RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
'StableCoinaddress' in (yield bitcoind.rpc_help()) and
not (yield bitcoind.rpc_getinfo())['testnet']
)),
SUBSIDY_FUNC=lambda height: 25*100000000 >> (height + 1)//1080000,
POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
BLOCK_PERIOD=45,
SYMBOL='STC',
CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'StableCoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/StableCoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.StableCoin'), 'StableCoin.conf'),
BLOCK_EXPLORER_URL_PREFIX='http://wdc.a-df.net:2750/chain/StableCoin/block/',
ADDRESS_EXPLORER_URL_PREFIX='http://wdc.a-df.net:2750/chain/StableCoin/address/',
SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
DUMB_SCRYPT_DIFF=2**16,
),