Guest User

bitcoin/networks.py

a guest
Jan 31st, 2014
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.51 KB | None | 0 0
  1. fckbankscoin=math.Object(
  2.         P2P_PREFIX='fcd9b7dd'.decode('hex'), #stripped from fckbankscoind's main.cpp  -> pchMessageStart[4] = { 0xfc, 0xd9, 0xb7, 0xdd };
  3.         P2P_PORT=21779, #fckbankscoind 's p2p port  
  4.         ADDRESS_VERSION=36, #look again in the sourcecode in the file base58.h, and find the value of PUBKEY_ADDRESS.
  5.         RPC_PORT=21778, #fckbankscoind 's rpc port
  6.         RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
  7.             'fckbankscoin address' in (yield bitcoind.rpc_help()) and
  8.             not (yield bitcoind.rpc_getinfo())['testnet']
  9.         )),
  10.         SUBSIDY_FUNC=lambda height: 100000*100000000 >> (height + 1)//100000,
  11.         POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
  12.         BLOCK_PERIOD=60, # one block generation time
  13.         SYMBOL='FCK',
  14.         CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'fckbankscoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/fckbankscoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.fckbankscoin'), 'fckbankscoin.conf'),
  15.         BLOCK_EXPLORER_URL_PREFIX='http://fckbanks.altstrade.cc/block/',
  16.         ADDRESS_EXPLORER_URL_PREFIX='http://fckbanks.altstrade.cc/address/',
  17.         TX_EXPLORER_URL_PREFIX='http://fckbanks.altstrade.cc/tx/',
  18.         SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1), #??
  19.         DUMB_SCRYPT_DIFF=2**16, #??
  20.         DUST_THRESHOLD=0.03e8, #??
  21.     ),
Advertisement
Add Comment
Please, Sign In to add comment