Author

Topic: Auroracoin P2POOL NETWORK.PY settings (Read 1474 times)

jr. member
Activity: 160
Merit: 1
worldwide ;Щ
May 27, 2020, 07:08:07 AM
#6
bump
newbie
Activity: 31
Merit: 0
May 13, 2014, 07:53:00 PM
#5

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
Go get your 0% while it last!

Thanks and happy mining!
sr. member
Activity: 252
Merit: 250
March 14, 2014, 04:53:17 AM
#4
Where to use this code? I am totally disoriented and lost  Huh
Thanks!
full member
Activity: 140
Merit: 100
March 02, 2014, 01:26:48 PM
#3
CODE HAS BEEN UPDATED ABOVE
it will connect to several other AUR p2pools now!
full member
Activity: 140
Merit: 100
March 01, 2014, 01:20:31 PM
#2
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!
full member
Activity: 140
Merit: 100
March 01, 2014, 12:12:10 PM
#1


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

AUR p2pool post is here --->  https://bitcointalksearch.org/topic/auroracoin-aur-p2pool-mining-pool-no-sign-ups-block-reward-075-btc-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.
Jump to: