From db137379fea3fbad77373fcbfabd13c4491ea10f Mon Sep 17 00:00:00 2001 From: jacob019 Date: Sat, 26 Apr 2014 01:44:54 -0400 Subject: [PATCH] Update networks.py add kimocoin --- p2pool/networks.py | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/p2pool/networks.py b/p2pool/networks.py index 2bcf0d14..0d86607d 100644 --- a/p2pool/networks.py +++ b/p2pool/networks.py @@ -180,7 +180,26 @@ ANNOUNCE_CHANNEL='#p2pool-spa', VERSION_CHECK=lambda v: True, VERSION_WARNING=lambda v: 'Upgrade Spaincoin to >=0.8.8.0!' if v < 80800 else None, - ), + ), + + kimocoin=math.Object( + PARENT=networks.nets['kimocoin'], + SHARE_PERIOD=10, # seconds + CHAIN_LENGTH=24*60*60//30, # shares + REAL_CHAIN_LENGTH=24*60*60//30, # shares + TARGET_LOOKBEHIND=200, # shares + SPREAD=15, # blocks + IDENTIFIER='f8d4d7035c692d35'.decode('hex'), + PREFIX='de83d31b55d8fd0e'.decode('hex'), + P2P_PORT=2890, + MIN_TARGET=0, + MAX_TARGET=2**256//2**20 - 1, + PERSIST=True, + WORKER_PORT=2891, + BOOTSTRAP_ADDRS='kmc.1js.us'.split(' '), + ANNOUNCE_CHANNEL='#p2pool-alt', + VERSION_CHECK=lambda v: True, + ), ) for net_name, net in nets.iteritems():