Bitcoin Forum
June 08, 2024, 05:38:22 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Krugercoin P2Pool Source Needed  (Read 755 times)
Jude Austin (OP)
Legendary
*
Offline Offline

Activity: 1140
Merit: 1000


The Real Jude Austin


View Profile WWW
August 04, 2013, 04:50:59 AM
 #1

Hello.

I would like to add Krugercoin to P2Pool.org.

If you know the values or perhaps where I could get the source that would be great!

Thank you!

Buy or sell $100 of Crypto and get $10!
Jude Austin (OP)
Legendary
*
Offline Offline

Activity: 1140
Merit: 1000


The Real Jude Austin


View Profile WWW
August 04, 2013, 07:18:26 PM
 #2

I will give a 1000 Krugercoin bounty for a working P2Pool instance of Krugercoin.

Thank you.

Buy or sell $100 of Crypto and get $10!
matosha
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile WWW
February 24, 2014, 06:08:15 PM
Last edit: February 24, 2014, 08:39:30 PM by matosha
 #3

Did you manage to get this right?
Now im struggling to get all the values... Im stuck on p2p connecton part... just sits their loading forever.

Got it right. But im using it solo.
in network.py
Quote
krugercoin=math.Object(
        PARENT=networks.nets['krugercoin'],
        SHARE_PERIOD=30, # seconds
        CHAIN_LENGTH=12*60*60//10, # shares
        REAL_CHAIN_LENGTH=12*60*60//10, # shares
        TARGET_LOOKBEHIND=20, # shares
        SPREAD=10, # blocks
        IDENTIFIER='cc6561bb6865ff21'.decode('hex'),
        PREFIX='aa31010baff4729a'.decode('hex'),
        P2P_PORT=9339,
        MIN_TARGET=0,
        MAX_TARGET=2**256//2**20 - 1,
        PERSIST=False,
        WORKER_PORT=9357,
        BOOTSTRAP_ADDRS='78.108.105.141 46.72.131.40'.split(' '),
        ANNOUNCE_CHANNEL='#p2pool-alt',
        VERSION_CHECK=lambda v: True,
    ),

and in the bitcoin/network.py
krugercoin=math.Object(
        P2P_PREFIX='fbc0b6db'.decode('hex'),
        P2P_PORT=8771,
        ADDRESS_VERSION=79,
        RPC_PORT=9332,
        RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
            'krugercoinaddress' in (yield bitcoind.rpc_help()) and
            not (yield bitcoind.rpc_getinfo())['testnet']
        )),
        SUBSIDY_FUNC=lambda height: 32*100000000 >> (height + 1)//4147200,
        POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
        BLOCK_PERIOD=150, # s
        SYMBOL='KGC',
        CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'krugercoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/krugercoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.krugercoin'), 'krugercoin.conf'),
        BLOCK_EXPLORER_URL_PREFIX='http://cryptocoinexplorer.com:5750/block/',
        ADDRESS_EXPLORER_URL_PREFIX='http://cryptocoinexplorer.com:5750/address/',
        TX_EXPLORER_URL_PREFIX='http://cryptocoinexplorer.com:5750/transaction/',
        SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
        DUMB_SCRYPT_DIFF=2**16,
        DUST_THRESHOLD=1e8,
    ),
cr1776
Legendary
*
Offline Offline

Activity: 4060
Merit: 1303


View Profile
February 25, 2014, 07:47:16 PM
 #4

it does look like it is working, but I have not seen the config for it.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!