Bitcoin Forum

Alternate cryptocurrencies => Announcements (Altcoins) => Topic started by: deeppurple72 on March 01, 2014, 05:12:10 PM



Title: Auroracoin P2POOL NETWORK.PY settings
Post by: deeppurple72 on March 01, 2014, 05:12:10 PM
http://p2pool.neocities.org/auroracoin.jpg

Here is the code for P2POOL-Auroracoin

Add this to p2pool/network.py:

    auroracoin=math.Object(
        PARENT=networks.nets['auroracoin'],
        SHARE_PERIOD=15, # seconds
        CHAIN_LENGTH=24*60*60//10, # shares
        REAL_CHAIN_LENGTH=24*60*60//10, # shares
        TARGET_LOOKBEHIND=200, # shares
        SPREAD=10, # blocks
        IDENTIFIER='e037d5b8c69231ce'.decode('hex'),
        PREFIX='7208c1a53ef621ce'.decode('hex'),
        P2P_PORT=12348,
        MIN_TARGET=0,
        MAX_TARGET=2**256//2**20 - 1,
        PERSIST=True,
        WORKER_PORT=12347,
        BOOTSTRAP_ADDRS='67.233.200.130 5.9.157.150 144.76.107.81'.split(' '),
        ANNOUNCE_CHANNEL='#p2pool-aur',
        VERSION_CHECK=lambda v: True,
        VERSION_WARNING=lambda v: 'Upgrade AuroraCoin to >=1.0.1!' if v < 1010000 else None,
    ),

--------------------------------------------------------------------------------
and this to bitcoin/network.py:


    auroracoin=math.Object(
        P2P_PREFIX='fda4dc6c'.decode('hex'),
        P2P_PORT=12340,
        ADDRESS_VERSION=23,
        RPC_PORT=12341,
        RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
            'AuroraCoinaddress' in (yield bitcoind.rpc_help()) and
            not (yield bitcoind.rpc_getinfo())['testnet']
        )),
        SUBSIDY_FUNC=lambda height: 25*100000000 >> (height + 1)//420000 if height <= 5450 else \
                                    125*10000000 >> (height + 1)//420000,
        POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
        BLOCK_PERIOD=150,
        SYMBOL='AUR',
        CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'AuroraCoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/AuroraCoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.AuroraCoin'), 'AuroraCoin.conf'),
        BLOCK_EXPLORER_URL_PREFIX='http://blockexplorer.auroracoin.eu/block/',
        ADDRESS_EXPLORER_URL_PREFIX='http://blockexplorer.auroracoin.eu/address/',
        TX_EXPLORER_URL_PREFIX='http://blockexplorer.auroracoin.eu/tx/',
        SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
        DUMB_SCRYPT_DIFF=2**16,
        DUST_THRESHOLD=0.03e8,
        ),

------------------------------------------------------------------------------------------------------

AuroraCoin.conf:

rpcuser=rpcusername
rpcpassword=rpcpassword
rpcallowip=127.0.0.1
rpcallowip=192.168.0.*
rpcallowip=192.168.1.*
rpcport=12341
port=12340
listen=1
discover=1
daemon=1
server=1
gen=0


In theory, this should connect you to goldmine's AUR p2pool as a peer node

AUR p2pool is here ---> p2pool.neocities.org/coin_aur.html (http://p2pool.neocities.org/coin_aur.html)

AUR p2pool post is here --->  https://bitcointalk.org/index.php?topic=492954 (https://bitcointalk.org/index.php?topic=492954)

please post your AUR p2pool URL in the AUR P2POOL post forum from the link above....

this coin is very difficult ( much like LTC ) and will need a few peer p2pools to productively find blocks.


Title: Re: Auroracoin P2POOL NETWORK.PY settings
Post by: deeppurple72 on March 01, 2014, 06:20:31 PM
please note the block explorer URLs are incorrect...


BE SURE TO POST YOUR p2pool's IP or URL so it can be added to the BOOTSTRAP
so all AUR P2POOLS can connect as PEERS and combine all hashrates!


Title: Re: Auroracoin P2POOL NETWORK.PY settings
Post by: deeppurple72 on March 02, 2014, 06:26:48 PM
CODE HAS BEEN UPDATED ABOVE
it will connect to several other AUR p2pools now!


Title: Re: Auroracoin P2POOL NETWORK.PY settings
Post by: Teodor on March 14, 2014, 09:53:17 AM
Where to use this code? I am totally disoriented and lost  ???
Thanks!


Title: Re: Auroracoin P2POOL NETWORK.PY settings
Post by: CryptoP2Pool on May 14, 2014, 12:53:00 AM

Hi fellow miners, I've created a P2Pool for Auroracoin with a 0% Mining Fee until the end of May, 1% Starting June 1st.
www.crypto-p2pool.com (http://www.crypto-p2pool.com)
Go get your 0% while it last!

Thanks and happy mining!


Title: Re: Auroracoin P2POOL NETWORK.PY settings
Post by: TotallyNotaLiar on May 27, 2020, 12:08:07 PM
bump