Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ),
- goldcoin=math.Object(
- PARENT=networks.nets['goldcoin'],
- SHARE_PERIOD=10, # seconds
- CHAIN_LENGTH=24*60*60//10, # shares
- REAL_CHAIN_LENGTH=12*60*60//10, # shares
- TARGET_LOOKBEHIND=20, # shares
- SPREAD=50, # blocks
- IDENTIFIER='673C4A194010994F'.decode('hex'),
- PREFIX='673C4A1922156F1F'.decode('hex'),
- P2P_PORT=23220,
- MIN_TARGET=0,
- MAX_TARGET=2**256//2**20 - 1,
- PERSIST=False,
- WORKER_PORT=8221,
- BOOTSTRAP_ADDRS=''.split(' '),
- ANNOUNCE_CHANNEL='#p2pool-gld',
- VERSION_CHECK=lambda v: True,
- ),
- ),
- goldcoin=math.Object(
- P2P_PREFIX='fdc2b4dd'.decode('hex'),
- P2P_PORT=8121,
- ADDRESS_VERSION=32,
- RPC_PORT=8122,
- RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
- 'goldcoinaddress' in (yield bitcoind.rpc_help()) and
- not (yield bitcoind.rpc_getinfo())['testnet']
- )),
- SUBSIDY_FUNC=lambda height: 45*100000000 >> (height + 1)//26325000,
- POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
- BLOCK_PERIOD=120, # s
- SYMBOL='GLD',
- CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'Goldcoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/Goldcoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.goldcoin'), 'goldcoin.conf'),
- BLOCK_EXPLORER_URL_PREFIX='http://gld.cryptocoinexplorer.com/block/', #dummy
- ADDRESS_EXPLORER_URL_PREFIX='http://gld.cryptocoinexplorer.com/address/',
- TX_EXPLORER_URL_PREFIX='http://gld.cryptocoinexplorer.com/tx/',
- SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
- DUMB_SCRYPT_DIFF=2**16,
- DUST_THRESHOLD=0.0001e8,
- ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement