Bitcoin Forum
May 24, 2024, 07:14:29 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Auroracoin P2POOL NETWORK.PY settings  (Read 1473 times)
deeppurple72 (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
March 01, 2014, 05:12:10 PM
Last edit: March 02, 2014, 06:26:03 PM by deeppurple72
 #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://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.
deeppurple72 (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
March 01, 2014, 06:20:31 PM
Last edit: March 01, 2014, 08:14:23 PM by deeppurple72
 #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!
deeppurple72 (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 100


View Profile
March 02, 2014, 06:26:48 PM
 #3

CODE HAS BEEN UPDATED ABOVE
it will connect to several other AUR p2pools now!
Teodor
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
March 14, 2014, 09:53:17 AM
 #4

Where to use this code? I am totally disoriented and lost  Huh
Thanks!

CryptoP2Pool
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile WWW
May 14, 2014, 12:53:00 AM
 #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!
TotallyNotaLiar
Jr. Member
*
Offline Offline

Activity: 160
Merit: 1

worldwide ;Щ


View Profile
May 27, 2020, 12:08:07 PM
 #6

bump

"There are two ways to constrain the size of a slice, when computed
through hybrid thin slicing." ~Papillion
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!