Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Zimstake recommended settings for P2Pool nodes
- ## p2pool/networks.py
- ),
- zimstake=math.Object(
- PARENT=networks.nets['zimstake'],
- SHARE_PERIOD=30, # seconds
- CHAIN_LENGTH=60*60//30, # shares
- REAL_CHAIN_LENGTH=60*60//30, # shares
- TARGET_LOOKBEHIND=200, # shares
- SPREAD=15, # blocks
- IDENTIFIER='c21d2323b5b7a35e'.decode('hex'),
- PREFIX='c323d92112a2b4a1'.decode('hex'),
- P2P_PORT=21125,
- MIN_TARGET=0,
- MAX_TARGET=2**256//2**32 - 1,
- PERSIST=True,
- WORKER_PORT=21120,
- BOOTSTRAP_ADDRS='zs.cryptopool.zone'.split(' '),
- ANNOUNCE_CHANNEL='#p2pool-alt',
- VERSION_CHECK=lambda v: True,
- VERSION_WARNING=lambda v: 'Upgrade Zimstake to >= 1.0.1.1!' if v < 60000 else None,
- ),
- ## p2pool/bitcoin/networks.py
- ),
- zimstake=math.Object(
- P2P_PREFIX='69420522'.decode('hex'),
- P2P_PORT=12125,
- ADDRESS_VERSION=32,
- RPC_PORT=12126,
- RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
- 'zimstakeaddress' in (yield bitcoind.rpc_help()) and
- not (yield bitcoind.rpc_getinfo())['testnet']
- )),
- SUBSIDY_FUNC=lambda height: 512*100000000,
- POW_FUNC=data.hash256,
- BLOCK_PERIOD=60, # s
- SYMBOL='ZS',
- CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'Zimstake') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/Zimstake/') if platform.system() == 'Darwin' else os.path.expanduser('~/.zimstake'), 'zimstake.conf'),
- BLOCK_EXPLORER_URL_PREFIX='http://coinia.net/zimstake/getbalance.php?addr=',
- ADDRESS_EXPLORER_URL_PREFIX='http://coinia.net/zimstake/getbalance.php?addr=',
- TX_EXPLORER_URL_PREFIX='http://explore.zimstake.us/index.php?transaction=',
- SANE_TARGET_RANGE=(2**256//2**32//1000 - 1, 2**256//2**32 - 1),
- DUMB_SCRYPT_DIFF=1,
- DUST_THRESHOLD=0.1e8,
- ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement