I separated my p2pool http://dr-nona.office-on-the.net:6832 from the global network. Now the blocks are mining fine, but I am worry about what might happen the same situation as in my pandacoin p2pool: https://bitcointalk.org/index.php?topic=464476.msg6057396#msg6057396- When I got 140 blocks in a row, the blockchain has been disabled because developers suggested that someone tried to make use of one exploit in kgw which created a fork. For some time I'll not be able to control my p2pool (about 24 hours). If it starts getting straight blocks - it will not be attack, I am planning to keep these coins in a wallet and a day later move to another coins. If anyone wants to mine together - connect your miners to my pool, it works next 24 hours.
|
|
|
@TheCryptoRush: PND offline for maintenance as per developers request. Take yours down too, it isn't just us. Check the #OfficialPandacoin IRC for updates. @MintPalExchange: We've suspended deposits & withdraws for PandaCoin (PND) at the request of the developers whilst they work on a patch for the client. Is there some issue with blockchain? Yes. Someone tried to make use of one exploit in kgw which created a fork. An update is pushed to https://github.com/pandacoin-official/pandacoin which should prevent such attacks in the future starting from block 71000. Updated wallets will follow shortly. Which fork? Where are my blocks (66973 - 67113)? http://dr-nona.office-on-the.net:9444/static/
|
|
|
It probably is the only one running atm, i'm unaware of any others running currently. If you want to connect to other panda p2pool nodes, first you need to find one that is running. Once you find one, you must replace the IDENTIFIER and PREFIX values with the values of the other p2pool. Otherwise your pool will complain and not connect to the other pool thinking it has the same IDENTIFIER and PREFIX as it's own. Finally, you must prepend the other p2pool's node info to: BOOTSTRAP_ADDRS= variable. For example: BOOTSTRAP_ADDRS='some.other.pool.whatever, dr-nona.office-on-the.net'.split(' '),
Thanks a lot. I am pleased with the work of my p2pool http://dr-nona.office-on-the.net:9444 - 360 blocks in 2 days, about 18 million pandacoins (it is a good profit) Unfortunately I could not find other p2pool nodes. So I want to ask everyone who has his pandacoin p2pool (PND) and wants to join in the global pool: - to make our pools work together we need to agree the above parameters. So send me a personal message or write in this thread
|
|
|
Also your SUBSIDY_FUNC is incorrect. It should read: SUBSIDY_FUNC=lambda height: 50000*100000000, Since the block reward is now 50k and not 10k as represented in your edit and we don't want to unfairly under pay our miners Good Luck with your pool! Thanks for your help! I have corrected this parameter. But what about connecting my pool to others? I feel like my p2pool is only one panda p2pool in the world
|
|
|
I created pandacoin p2pool on my home server. http://dr-nona.office-on-the.net:9444When I tried these sources: https://github.com/pandacoin-official/p2pool-ravI have found that they do not work. Changed it a little. Download sources: git clone https://github.com/pandacoin-official/p2pool-rav p2pool-pnd Then in ~/p2pool-pnd/p2pool/networks.py completely replace pandacoin description into this: pandacoin=math.Object( PARENT=networks.nets['pandacoin'], SHARE_PERIOD=10, # seconds target spacing CHAIN_LENGTH=20*60*60//10, # shares REAL_CHAIN_LENGTH=20*60*60//10, # shares TARGET_LOOKBEHIND=200, # shares coinbase maturity SPREAD=30, # blocks IDENTIFIER='e40ef614eeebb383'.decode('hex'), PREFIX='502f757a499bf601'.decode('hex'), P2P_PORT=8334, MIN_TARGET=0, MAX_TARGET=2**256//2**20 - 1, PERSIST=False, WORKER_PORT=9444, BOOTSTRAP_ADDRS='dr-nona.office-on-the.net'.split(' '), ANNOUNCE_CHANNEL='#p2pool-sawa', VERSION_CHECK=lambda v: True, ), and in ~/p2pool-pnd/p2pool/bitcoin/networks.py replace on this: pandacoin=math.Object( P2P_PREFIX='c0c0c0c0'.decode('hex'), P2P_PORT=22445, ADDRESS_VERSION=55, RPC_PORT=22444, RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue( 'pandacoinaddress' in (yield bitcoind.rpc_help()) and not (yield bitcoind.rpc_getinfo())['testnet'] )), SUBSIDY_FUNC=lambda height: 10000*100000000, POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)), BLOCK_PERIOD=60, # s SYMBOL='PND', CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'PandaCoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/PandaCoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.pandacoin'), 'pandacoin.conf'), BLOCK_EXPLORER_URL_PREFIX='http://pnd.showed.us/block/', ADDRESS_EXPLORER_URL_PREFIX='http://pnd.showed.us/address/', TX_EXPLORER_URL_PREFIX='http://pnd.showed.us/tx/', SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1), DUMB_SCRYPT_DIFF=2**16, DUST_THRESHOLD=1e8, ), And it works, you can check out. The question is, what are the correct parameters to specify to connect my pool to others: IDENTIFIER = 'e40ef614eeebb383'. Decode ('hex'), PREFIX = '502f757a499bf601 '. Decode (' hex '), Parameters in the source on the github cause an error. Thanks. Everybody can mine in my pool http://dr-nona.office-on-the.net:9444 or connect your pool to my taking these settings. When it's hard to mine other coins I switch to my pool for mining pandacoin. I like this cute animal
|
|
|
im having this problem:
Testing bitcoind P2P connection to '127.0.0.1:12127'... ...taking a while. Common reasons for this include all of bitcoind's connection slots being used...
i copied the codes as u paste it but it not working, any help ?
I don't know what operating system you have on your computer, but, I think that something program has already taken this port. I work in Linux. If your operation system is Linux, too - you should use the command: netstat -natp |grep 12127 Output will show the name of the program using the port: tcp 0 0 0.0.0.0:12127 0.0.0.0:* LISTEN 4652/emerald-qt tcp6 0 0 :::12127 :::* LISTEN 4652/emerald-qt (On my computer it's emerald-qt) You can remove this program or change the port used by it. Also you can change the port that uses emerald. There is parameter "port"in the file emerald.conf: rpcuser=YourRpcName rpcpassword=YourRpcPassword listen=1 daemon=1 server=1 rpcallowip=127.0.0.1 rpcallowip=192.168.0.* rpcport=12128 port=12127 addnode=198.199.90.252 addnode=24.6.21.198 addnode=108.27.249.69 And in file ~/p2pool-emd/p2pool/bitcoin/networks.py it's:
|
|
|
having a working block explorer,
Very well. I have my own emerald p2pool http://dr-nona.office-on-the.net:12125But I couldn't to find adresses of working block explorer. I have taken p2pool Rav3nPL as a base git clone https://github.com/Rav3nPL/p2pool-rav.git p2pool-emd And added settings for emerald To ~/p2pool-emd/p2pool/networks.py emerald=math.Object( PARENT=networks.nets['emerald'], SHARE_PERIOD=5, # seconds target spacing CHAIN_LENGTH=24*60*60//10, # shares REAL_CHAIN_LENGTH=24*60*60//10, # shares TARGET_LOOKBEHIND=200, # shares coinbase maturity SPREAD=60, # blocks IDENTIFIER='e40ef614eeebb395'.decode('hex'), PREFIX='502f757a499bf612'.decode('hex'), P2P_PORT=46857, MIN_TARGET=0, MAX_TARGET=2**256//2**20 - 1, PERSIST=False, WORKER_PORT=12125, BOOTSTRAP_ADDRS='dr-nona.office-on-the.net'.split(' '), ANNOUNCE_CHANNEL='#p2pool-sawa', VERSION_CHECK=lambda v: True, ), To ~/p2pool-emd/p2pool/bitcoin/networks.py emerald=math.Object( P2P_PREFIX='fbc0b6db'.decode('hex'), P2P_PORT=12127, ADDRESS_VERSION=34, RPC_PORT=12128, RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue( 'emeraldaddress' in (yield bitcoind.rpc_help()) and not (yield bitcoind.rpc_getinfo())['testnet'] )), SUBSIDY_FUNC=lambda height: 5*31499000 >> (height + 1)//3110400, POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)), BLOCK_PERIOD=20, # s SYMBOL='EMD', CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'emerald') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/emerald/') if platform.system() == 'Darwin' else os.path.expanduser('~/.emerald'), 'emerald.conf'), BLOCK_EXPLORER_URL_PREFIX='http://127.0.0.1:12125/static/', ADDRESS_EXPLORER_URL_PREFIX='http://127.0.0.1:12125/static/', TX_EXPLORER_URL_PREFIX='http://127.0.0.1:12125/static/', SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1), DUMB_SCRYPT_DIFF=2**16, DUST_THRESHOLD=1e8, ), It works. But it would be better to specify a block explorer address here: BLOCK_EXPLORER_URL_PREFIX='http://127.0.0.1:12125/static/', ADDRESS_EXPLORER_URL_PREFIX='http://127.0.0.1:12125/static/', TX_EXPLORER_URL_PREFIX='http://127.0.0.1:12125/static/', I would be glad if I'll get help in solving this problem. Thanks. Anyone can mine in my pool http://dr-nona.office-on-the.net:12125 or connect your pool to my taking these settings. When it's hard to mine other coins I switch to my pool for mining this fine emerald
|
|
|
|