rav3npl / p2pool-rav Goto Github PK
View Code? Open in Web Editor NEWThis project forked from p2pool/p2pool
Peer-to-peer Bitcoin mining pool
Home Page: http://bitcointalk.org/index.php?topic=18313
License: GNU General Public License v3.0
This project forked from p2pool/p2pool
Peer-to-peer Bitcoin mining pool
Home Page: http://bitcointalk.org/index.php?topic=18313
License: GNU General Public License v3.0
Hi Rav,
Digibyte got updated to v2.0, they made quite a few changes (mainly the rewards and the difficulty re-targeting)
https://github.com/digibyte/DigiByteProject/blob/master/src/main.cpp#L833
What amends do you think should be made to the networks.py files?
The Digibyte difficulty retargeting and rewards will kick in next friday, so the p2pool operators have enough time to update to the new networks.py files.
Thanks in advance!
-Storm
Hi Rav3enPL,
after upgrading the Mooncoin-daemon to the latest version, P2Pool seems to have difficulties connecting to the daemon. mooncoindev is pointing at p2pool as the culprit, as the new wallet is based on a 0.10-Litecoin-version, which has deprecated getwork and getblocktemplate ...?
Any idea? As there are working Litecoin P2Pool-nodes, I assume it could not be too hard to make it work for Mooncoin again, right?
Thanks and best regards
coinflow
Hi,
the new blockchain-address for mooncoin is now http://mooncoin.info/abe/chain/Mooncoin instead of moonchain.info
See here: http://mooncoin.info/ (new official Mooncoin-site)
So in the code of /p2pool/bitcoin/networks.py it should look like this (tested and working):
BLOCK_EXPLORER_URL_PREFIX='http://mooncoin.info/abe/block/',
ADDRESS_EXPLORER_URL_PREFIX='http://mooncoin.info/abe/address/',
TX_EXPLORER_URL_PREFIX='http://mooncoin.info/abe/tx/',
Could you change that?
BTW: Could you also check your mooncoind on http://144.76.107.241:9664/static/ ?
Seems you are on the old wallet/mooncoind. The newest one can be obtained here (including KGW-exploit-fix): https://github.com/realmooncoin/mooncoin
getting the page http://myip:9555/static once working it returns
No Such Resource
File not found.
but the file index.html and graphs.html are in the web-static/ folder
When we started publicizing our P2Pool we suddenly found our normally okay host, not doing work additional work, but pegged out at 100% use (memory and SWAP).
We are seeing this on our p2pool running the blixnood fork of forrestv's p2pool. We've been trying to see about switching back to forrestv's p2pool to determine if the failure is still present as it appears to come in via LTC traffic and the only reason we are using blixnood's is that we can run DOGE and LTC with it easily.
Our RAM and SWAP peg at 100% and we cannot communicate with the server itself as it is slammed with traffic.
In short, we've determined that someone is mirroring traffic through the worker/p2pool-worker/litecoin-scrypt(?) and sending a reflection DDoS attack to outside hosts. We've manage to slow this attack to a creep, but, it is still happening.
What can we do to help locate the loop-hole/vulnerability that allows someone to accomplish such a task?
Note: we are not "natural" at debugging such large python projects nor python processes in detail and are fairly new to pool running and mining in general but have been computer security gurus for years. We'd love to help though. I've opened this issue on forrestv/p2pool and blixnood/p2pool as well.
Blixnood responded to the issue saying he'd noticed it as well and to try you after trying forrestv and I've already left his as an issue with forrestv. Wish I could do this as a push (like I'd found the issue and made the fix... maybe in time after some help with how to produce tests from yourself or someone of your caliber).
I'm running a DOGE p2pool node with --fee 1
but it does not collect any fees at all.
http://q30.qhor.net:9555/fee
http://q30.qhor.net:9555/payout_addr
http://dogechain.info/address/DQ7rk4cQ2XW79BJ7eb9KfZrf6jkoLPmCHF
Any ideas why this could happen? I had constantly 1-6 MH/s on this node.
http://q30.qhor.net:9555/static/graphs.html?Week
Cheers
vertoe
Solcoin is a standard scrypt/litecoin clone so I tried modifying the Dogecoin network files, but I can't find any information anywhere on how to generate the IDENTIFIER and PREFIX (they don't seem related to the pchMessageStart?), and as I'm rusty on Python I am uncertain if my subsidy function is correct. Would you be able to help?
Solcoin details:
RPC port: 24360
P2P port: 24361
188 second block time target
1772 coins per block, halving every 131072 blocks but never lower than 27 coins, and the subsidy is always rounded down (decimals removed).
Subsidy function: https://github.com/solcoin-project/solcoin/blob/master/src/main.cpp#L1042
There is some bug that is counting all workers on node to default payout for node owner.
Looks like code need pubkey for payout address.
We all have to be duplicating a lot of work chasing down the params to add these coins.
Any ideas?
Please update your branch to P2Pool 14, the hardfork will happen any day now (as soon as bip 66 is enforced) and p2pool nodes running versions prior to 14 will be submitting invalid work.
Forrest's announcement: https://bitcointalk.org/index.php?topic=18313.msg11723989#msg11723989
BIP 66 enforcement: http://bitcoin.sipa.be/ver-ever.png
Could you add this to your repo at some point?
https://github.com/donSchoe/p2pool-vtc/pull/7/files
I'm not sure how to easily pull just his changes to resubmit back to your repo. I made the changes by hand for now.
I added infinitecoin, when I run p2pool, prompted me ...taking a while. Common reasons for this include all of bitcoind's connection slots being used....
I'm sure the problem is IDENTIFIER='fc656166636f696e'.decode('hex'),
PREFIX='fe636f696e6c656a'.decode('hex'),how do I determine these two values it?
This is my values:
IDENTIFIER='fc656166636f696e'.decode('hex'),
PREFIX='fe636f696e6c656a'.decode('hex'),
LOG:
2014-02-01 22:11:47.778552 p2pool (version 13.3-180-g336cded-dirty)
2014-02-01 22:11:47.778745
2014-02-01 22:11:47.778864 Testing bitcoind RPC connection to 'http://127.0.0.1:9322/' with username 'fengying'...
2014-02-01 22:11:47.800380 ...success!
2014-02-01 22:11:47.800606 Current block hash: e2671f04c98c10c93c0826fdd8be57af07ac99a9c9bdebda652ae504bef34053
2014-02-01 22:11:47.800696 Current block height: 629040
2014-02-01 22:11:47.800758
2014-02-01 22:11:47.800841 Testing bitcoind P2P connection to '127.0.0.1:9321'...
2014-02-01 22:11:52.801233 ...taking a while. Common reasons for this include all of bitcoind's connection slots being used...
can you add
Trezarcoin, ViVo, GoByte, Verge-Lyra2REv2(XVG)
please
trezarcoin from wellenreiten repository dont work
Found in /bitcoin/Networks.py line ~ 393
Shouldnt ->
SANE_TARGET_RANGE=(2256//1000000000 - 1, 2256//1000 - 1),
should be
SANE_TARGET_RANGE=(2256//500000000 - 1, 2256//1000 - 1),
now, as blocks after halvening are only max 500.000 Dogecoins ?
we have to find insane high min Shares on 12h Base.
could this be the reason ?
Requesting Gridcoin support. Thank You.
Plz consider this coin ,it's very new ,and profitable for p2pool.
Hi
I have the pool working fine but i have set -f to 1 (and tried 1.0) and am not getting any payout from workers mining against the address set with -a.
I am expecting 1% payout to the address set with -a per worker payout. is this incorrect?
Please change:
SUBSIDY_FUNC=lambda height: 15_10000000 >> (height + 1)//4730400,
to:
SUBSIDY_FUNC=lambda height: 15_100000000 >> (height + 1)//4730400,
...and:
SANE_TARGET_RANGE=(2256//100000000 - 1, 2256//1000 - 1),
to:
SANE_TARGET_RANGE=(2256//1000000000 - 1, 2256//1000 - 1),
This fixes block rewards being 1.5 instead of 15.
Hi,
I'm the new mooncoin dev and i tried the new wallet.
when i add antminer in pool, i see valid shares and no invalid.
In the same time in antminer reported few thousands blocks( Found Blocks ) and thousands dead on arrival shares.
Is this a bug or issue from the pool software?
bytecoin RPC_CHECK "bitcoinaddress" Changed bytecoinaddress
Because you are wrong
p2pool IModification before they can be properly!
My English is not good :P
Could UFOcoin be added ? I found these values so maybe someone could check and verify, tested them and they seem to be working.
networks.py
ufo=math.Object(
PARENT=networks.nets['ufo'],
SHARE_PERIOD=15, # seconds target spacing
CHAIN_LENGTH=12_60_60//15, # shares
REAL_CHAIN_LENGTH=12_60_60//15, # shares
TARGET_LOOKBEHIND=20, # shares coinbase maturity
SPREAD=50, # blocks
IDENTIFIER='fc656266636f696e'.decode('hex'),
PREFIX='fe636e696e6c656a'.decode('hex'),
P2P_PORT=18720,
MIN_TARGET=0,
MAX_TARGET=2256//220 - 1,
PERSIST=False,
WORKER_PORT=19720,
BOOTSTRAP_ADDRS=''.split(' '),
ANNOUNCE_CHANNEL='#p2pool-alt',
VERSION_CHECK=lambda v: True,
),
bitcoin/networks.py
ufo=math.Object(
P2P_PREFIX='fcd9b7dd'.decode('hex'), #pchmessagestart
P2P_PORT=9887,
ADDRESS_VERSION=27, #pubkey_address
RPC_PORT=9888,
RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
'ufo address' in (yield bitcoind.rpc_help()) and
not (yield bitcoind.rpc_getinfo())['testnet']
)),
SUBSIDY_FUNC=lambda height: 5000_100000000,
POW_FUNC=lambda data: pack.IntType(256).unpack(import('ltc_scrypt').getPoWHash(data)),
BLOCK_PERIOD=90, # s
SYMBOL='UFO',
CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'ufo')
if platform.system() == 'Windows' else os.path.expanduser('/Library/Application Support/ufo/')/.ufo'), 'ufo.conf'),
if platform.system() == 'Darwin' else os.path.expanduser('
BLOCK_EXPLORER_URL_PREFIX='http://cryptexplorer.com/block/',
ADDRESS_EXPLORER_URL_PREFIX='http://cryptexplorer.com/address/',
TX_EXPLORER_URL_PREFIX='http://cryptexplorer.com/tx/',
SANE_TARGET_RANGE=(2__256//1000000000 - 1, 2__256//1000 - 1),
DUMB_SCRYPT_DIFF=2_*16,
DUST_THRESHOLD=0.03e8,
),
Now that the TRC code has been updated, I am getting this error when starting p2pool for TRC:
2016-07-25 13:32:39.794158 > Error: Bitcoin version too old! Upgrade to v0.5 or newer! 2016-07-25 13:32:42.802346 > Error: Bitcoin version too old! Upgrade to v0.5 or newer! 2016-07-25 13:32:45.809435 > Error: Bitcoin version too old! Upgrade to v0.5 or newer! 2016-07-25 13:32:48.822141 > Error: Bitcoin version too old! Upgrade to v0.5 or newer! 2016-07-25 13:32:51.832469 > Error: Bitcoin version too old! Upgrade to v0.5 or newer!
Does the p2pool networks also need to be updated - or is the error in the new TRC wallet code?
TRC git repo: https://github.com/clockuniverse/terracoin-1.0
New TRC version is now 91201.
Thanks.
successfull signup at http://fast-pool.com/index.php pointed miner on stratum. works fine. Now 6 h ago. my account is blocked and no support available.
When i log in with my username OR e-mail and PW this message comes:
Unable to login: Account is locked. Please contact site support.
please contact me for more information.
my username is realdee
regards
Hello devs,
Isracoin has just launched this past week and is already gaining a lot of momentum.
We would appreciate it if you added support for the coin into your p2pool code.
We'd like to get as many p2pools up and running as we can, in order to increase network security.
generally speaking, Isracoin has been cloned over Doge's recent 1.6 release with DigiShield.
Blocks every 1 minute and retarget every one minute by DigiShield.
Block reward is set to 50 coins.
Thanks.
Isracoin team.
www.isracoin.org
https://github.com/israelcoin/Isracoin
https://bittrex.com/Market/?MarketName=BTC-ISR
Possible to get a XVG network option?
Still have questions here #37
Hey Raven would you snag continumcoin out of
https://github.com/broketech/p2pool-rav/tree/master/p2pool
? I'm trying to minimize the number of forks I have sitting on my machine for sanity. :)
Is it possible for us to change the share chain length on the Dogecoin network to 24 hours instead of 12? The current setting is a little disadvantageous to smaller miners, and I'm seeing a lot of people getting frustrated over frequent dry spells.
I've talked to blixnood and he is onboard to change the setting in his repo as well, we would just have to coordinate it and urge nodes to update.
I'm getting 0 peers, 0 shares/0 total shares downloaded. Are the other 42coin geek nodes up?
Perhaps remove persist (persist=false). I'm gonna give it a go. Is this a case of bad luck on my part? :]
Just wanted to have an issue open about the incorrect subsidy function on doge. I realize it is very difficult due to the random subsidy of the coin but instead of occasionally producing blocks with only 10,000 DOGE due to the following:
SUBSIDY_FUNC=lambda height: 10000*100000000,
Would it be possible to add in fck banks coin?
it seem to be very similar to usde
block explorer sample link
http://abe.hashhunt.in:2759/block/5979d01ea40825d6efb6a4943eaa2d9e81262d6d06e5ebe803be9a73c33d7728
git source:
https://github.com/fckbankscoin/fckbankscoin/
specifications:
Scrypt
Total coins: 84 000 000 000
Initial block reward: 100000
Block halving rate: 100000
Block time: 60 seconds
Difficulty retarget: every 2 hours
RPC port: 21778
P2P port: 21779
Want to add Peercoin(PPC)!!!
That would be great :P
Hi Rav3nPL,
could I ask you to help Mooncoin again with tuning p2pool-rav according to the new wallet/client? That would be great.
The new wallet ( --> https://github.com/mooncoincore/wallet ) was compiled and installed alongside a freshly cloned p2pool-rav. But obviously an RPC-call is not possible.
I have found this one: litecoin-project/litecoin#371 where the user also has problems with the latest Litecoin-wallet to make it possible to work together with a p2pool-code. Since the newest Mooncoin-wallet is based on the latest Litecoin (as far as I know), could it be, that the linked solution would work in your p2pool-version for Mooncoin, too? See here: https://github.com/ilsawa/p2pool-ltc/commit/2af67a8cc7d0c498479f080f0652e02c4c826497
Since I don't know what the correct value for the Mooncoin-genesis-block would be, could you test that and possibly change the relevant passages in your pool-script to be correct? That would be really nice.
Notice: The new dev has changed back to the "official" naming conventions, meaning, that the paths that the Mooncoin-wallet creates, are with small letters again. Maybe this is of help for your updates of the code.
Thank you very much.
I can only get a handful of coins to correctly display stats in the web interface. I've tried the stock as well as a modified web-static folder. I receive the following error on Billioncoin, Worldcoin, Feathercoin, Catcoin and Luckycoin.
Error in DeferredResource handler:
2014-01-17 07:09:30.702238 > Traceback (most recent call last):
2014-01-17 07:09:30.702296 > File "/root/p2pool-rav/p2pool/util/deferred_resource.py", line 24, in render
2014-01-17 07:09:30.702338 > defer.maybeDeferred(resource.Resource.render, self, request).addCallbacks(finish, finish_error)
2014-01-17 07:09:30.702381 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 134, in maybeDeferred
2014-01-17 07:09:30.702420 > result = f(_args, *_kw)
2014-01-17 07:09:30.702457 > File "/usr/lib/python2.7/dist-packages/twisted/web/resource.py", line 216, in render
2014-01-17 07:09:30.702495 > return m(request)
2014-01-17 07:09:30.702531 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1181, in unwindGenerator
2014-01-17 07:09:30.702569 > return _inlineCallbacks(None, gen, Deferred())
2014-01-17 07:09:30.702605 > --- ---
2014-01-17 07:09:30.702641 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1039, in _inlineCallbacks
2014-01-17 07:09:30.702678 > result = g.send(result)
2014-01-17 07:09:30.702713 > File "/root/p2pool-rav/p2pool/web.py", line 189, in render_GET
2014-01-17 07:09:30.702750 > res = yield self.func(*self.args)
2014-01-17 07:09:30.702786 > File "/root/p2pool-rav/p2pool/web.py", line 194, in
2014-01-17 07:09:30.702823 > web_root.putChild('rate', WebInterface(lambda: p2pool_data.get_pool_attempts_per_second(node.tracker, node.best_share_var.value, decent_height())/(1-p2pool_data.get_average_stale_prop(node.tracker, node.best_share_var.value, decent_height()))))
2014-01-17 07:09:30.702866 > File "/root/p2pool-rav/p2pool/data.py", line 547, in get_pool_attempts_per_second
2014-01-17 07:09:30.702903 > assert dist >= 2
2014-01-17 07:09:30.702938 > exceptions.AssertionError:
So far Doge, Lite, Digital and 42 have all loaded fine. Connections are possible to all coins and the graph will update, but not individual stats.
There are some changes in new version 1.6 of Leafcoin (https://github.com/leafcoin/leafcoin), one of them is that starting from block 99500 some coins will go to Leafcoin Foundation (http://foundation.leafco.in/).
Leafcoin developer is now discovering p2pool code to suggest changes for p2pool that it will continue to work with LEAF, maybe people that deeply understand how p2pool works can help him:
https://bitcointalk.org/index.php?topic=514032.msg6081948#msg6081948
The dogecoin p2pool network is still in demand by hobbyists, and the 2 necessary files have been updated in https://github.com/CohibAA/p2pool-doge1-8 if you would, please consider merging these back into your fork.
Здравствуйте при установке столкнулся с проблемой
Help pull start, When you start kogad web page with statistics is not active is a log.
2014-10-06 02:46:57.773788 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
And when I do update statistics in the browser, go to such errors.
2014-10-06 02:46:53.330462 > Error in DeferredResource handler: 2014-10-06 02:46:53.330741 > Traceback (most recent call last): 2014-10-06 02:46:53.330858 > File "/home/ubuntu/p2pool-doge1-8/p2pool/util/deferred_resource.py", line 24, in render 2014-10-06 02:46:53.330955 > defer.maybeDeferred(resource.Resource.render, self, request).addCallbacks(finish, finish_error) 2014-10-06 02:46:53.331061 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 139, in maybeDeferred 2014-10-06 02:46:53.331164 > result = f(*args, **kw) 2014-10-06 02:46:53.331243 > File "/usr/lib/python2.7/dist-packages/twisted/web/resource.py", line 250, in render 2014-10-06 02:46:53.331323 > return m(request) 2014-10-06 02:46:53.331399 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1237, in unwindGenerator 2014-10-06 02:46:53.331479 > return _inlineCallbacks(None, gen, Deferred()) 2014-10-06 02:46:53.331554 > --- <exception caught here> --- 2014-10-06 02:46:53.331629 > File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1099, in _inlineCallbacks 2014-10-06 02:46:53.331717 > result = g.send(result) 2014-10-06 02:46:53.331822 > File "/home/ubuntu/p2pool-doge1-8/p2pool/web.py", line 198, in render_GET 2014-10-06 02:46:53.331901 > res = yield self.func(*self.args) 2014-10-06 02:46:53.332012 > File "/home/ubuntu/p2pool-doge1-8/p2pool/web.py", line 203, in <lambda> 2014-10-06 02:46:53.332106 > web_root.putChild('rate', WebInterface(lambda: p2pool_data.get_pool_attempts_per_second(node.tracker, node.best_share_var.value, decent_height())/(1-p2pool_data.get_average_stale_prop(node.tracker, node.best_share_var.value, decent_height())))) 2014-10-06 02:46:53.332204 > File "/home/ubuntu/p2pool-doge1-8/p2pool/data.py", line 573, in get_pool_attempts_per_second 2014-10-06 02:46:53.332310 > assert dist >= 2 2014-10-06 02:46:53.332406 > exceptions.AssertionError:
Also, when connected to a pool of miners, coming out of such a log
2014-10-06 04:00:49.757134 > Unhandled Error 2014-10-06 04:00:49.757308 > Traceback (most recent call last): 2014-10-06 04:00:49.757356 > File "/home/ubuntu/p2pool-doge1-8/p2pool/main.py", line 595, in run 2014-10-06 04:00:49.757397 > reactor.run() 2014-10-06 04:00:49.757447 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1192, in run 2014-10-06 04:00:49.757497 > self.mainLoop() 2014-10-06 04:00:49.757543 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1201, in mainLoop 2014-10-06 04:00:49.757592 > self.runUntilCurrent() 2014-10-06 04:00:49.757666 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 824, in runUntilCurrent 2014-10-06 04:00:49.757717 > call.func(*call.args, **call.kw) 2014-10-06 04:00:49.757773 > --- <exception caught here> --- 2014-10-06 04:00:49.757820 > File "/home/ubuntu/p2pool-doge1-8/p2pool/bitcoin/stratum.py", line 38, in _send_work 2014-10-06 04:00:49.757867 > x, got_response = self.wb.get_work(*self.wb.preprocess_request('' if self.username is None else self.username)) 2014-10-06 04:00:49.757916 > File "/home/ubuntu/p2pool-doge1-8/p2pool/work.py", line 177, in preprocess_request 2014-10-06 04:00:49.757962 > raise jsonrpc.Error_for_code(-12345)(u'p2pool is not connected to any peers') 2014-10-06 04:00:49.758018 > p2pool.util.jsonrpc.NarrowError: -12345 p2pool is not connected to any peers
Help solve the problem.
Pull installed on ubuntu vps
I had trouble compiling the litecoin part of the pool. I found this and thought you could add it to the readme. it can help other users in compiling pool software on windows.
Ask why I P2P client once the connection is such a mistake?
Before I update P2P code no problem to run properly.
Is WDC Coins
2014-02-21 15:33:23.030428 p2pool (version 13.3-214-ga8ac1d6)
2014-02-21 15:33:23.030660
2014-02-21 15:33:23.030777 Testing bitcoind RPC connection to 'http://127.0.0.1:11082/' with username 'fe'...
2014-02-21 15:33:23.049527 ...success!
2014-02-21 15:33:23.049705 Current block hash: 1a9c7886329a82a457d2902cc11b0245e6dadb68ea21152dc6ee17e30747c05d
2014-02-21 15:33:23.049838 Current block height: 1064428
2014-02-21 15:33:23.049930
2014-02-21 15:33:23.050037 Testing bitcoind P2P connection to '127.0.0.1:11081'...
2014-02-21 15:33:23.116676 ...success!
2014-02-21 15:33:23.116909
2014-02-21 15:33:23.117057 Determining payout address...
2014-02-21 15:33:23.117230 Getting payout address from bitcoind...
2014-02-21 15:33:23.121641 ...success! Payout address: WaBwFtJVVA9p5MhQoquec6hESB7Y35th2v
2014-02-21 15:33:23.121780
2014-02-21 15:33:23.121876 Loading shares...
2014-02-21 15:33:23.122093 ...done loading 0 shares (0 verified)!
2014-02-21 15:33:23.122193
2014-02-21 15:33:23.122318 Initializing work...
2014-02-21 15:33:23.265179 ...success!
2014-02-21 15:33:23.265365
2014-02-21 15:33:23.265504 Joining p2pool network using port 8377...
2014-02-21 15:33:23.894160 ...success!
2014-02-21 15:33:23.894302
2014-02-21 15:33:23.894685 Listening for workers on '' port 9377...
2014-02-21 15:33:23.903394 ...success!
2014-02-21 15:33:23.903513
2014-02-21 15:33:23.903626 Started successfully!
2014-02-21 15:33:23.903734 Go to http://127.0.0.1:9377/ to view graphs and statistics!
2014-02-21 15:33:23.903840 Donating 0.0% of work towards P2Pool's development. Please donate to encourage further development of P2Pool!
2014-02-21 15:33:23.903931
2014-02-21 15:33:26.905146 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 0 (0 incoming)
2014-02-21 15:33:26.905371 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2014-02-21 15:33:35.058156 Incoming connection to peer 108.44.169.63:53961 established. p2pool version: 1300 '13.3-182-g95ff970-dirty'
2014-02-21 15:33:35.907178 P2Pool: 0 shares in chain (0 verified/0 total) Peers: 1 (1 incoming)
2014-02-21 15:33:35.907408 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2014-02-21 15:33:38.745785 Incoming connection to peer 91.235.254.37:45626 established. p2pool version: 1300 '13.3-210-gf696aa9'
2014-02-21 15:33:38.907705 P2Pool: 0 shares in chain (0 verified/1 total) Peers: 2 (2 incoming)
2014-02-21 15:33:38.907939 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2014-02-21 15:33:41.908483 P2Pool: 0 shares in chain (0 verified/2 total) Peers: 2 (2 incoming)
2014-02-21 15:33:41.908763 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2014-02-21 15:33:44.514516 Incoming connection to peer 78.46.100.166:46698 established. p2pool version: 1300 '13.3-96-g7f43101-dirty'
2014-02-21 15:33:44.909620 P2Pool: 0 shares in chain (0 verified/2 total) Peers: 3 (3 incoming)
2014-02-21 15:33:44.909839 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2014-02-21 15:33:47.620324 Incoming connection to peer 54.201.164.152:42593 established. p2pool version: 1300 'unknown 7032706f6f6c'
2014-02-21 15:33:47.910222 P2Pool: 0 shares in chain (0 verified/2 total) Peers: 4 (4 incoming)
2014-02-21 15:33:47.910396 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2014-02-21 15:33:50.910736 P2Pool: 0 shares in chain (0 verified/3 total) Peers: 4 (4 incoming)
2014-02-21 15:33:50.910907 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2014-02-21 15:33:58.389776 > Unhandled Error
2014-02-21 15:33:58.389945 > Traceback (most recent call last):
2014-02-21 15:33:58.390015 > File "/home/mapleshadow/rav/p2pool/main.py", line 578, in run
2014-02-21 15:33:58.390099 > reactor.run()
2014-02-21 15:33:58.390181 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1192, in run
2014-02-21 15:33:58.390264 > self.mainLoop()
2014-02-21 15:33:58.390366 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1201, in mainLoop
2014-02-21 15:33:58.390450 > self.runUntilCurrent()
2014-02-21 15:33:58.390530 > File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 824, in runUntilCurrent
2014-02-21 15:33:58.390644 > call.func(_call.args, *_call.kw)
2014-02-21 15:33:58.390736 > --- ---
2014-02-21 15:33:58.390815 > File "/home/mapleshadow/rav/p2pool/bitcoin/stratum.py", line 38, in _send_work
2014-02-21 15:33:58.390896 > x, got_response = self.wb.get_work(_self.wb.preprocess_request('' if self.username is None else self.username))
2014-02-21 15:33:58.390978 > File "/home/mapleshadow/rav/p2pool/bitcoin/worker_interface.py", line 129, in get_work
2014-02-21 15:33:58.391058 > x, handler = self._inner.get_work(_args)
2014-02-21 15:33:58.391137 > File "/home/mapleshadow/rav/p2pool/work.py", line 205, in get_work
2014-02-21 15:33:58.391215 > raise jsonrpc.Error_for_code(-12345)(u'p2pool is downloading shares')
2014-02-21 15:33:58.391295 > p2pool.util.jsonrpc.NarrowError: -12345 p2pool is downloading shares
2014-02-21 15:34:05.912162 P2Pool: 0 shares in chain (0 verified/3 total) Peers: 4 (4 incoming)
2014-02-21 15:34:05.912390 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2014-02-21 15:34:12.720765 Handshake timed out, disconnecting from 97.74.42.79:48907
2014-02-21 15:34:16.096743 Incoming connection to peer 5.9.123.82:55464 established. p2pool version: 1300 '13.3-193-gfe0acfc-dirty'
2014-02-21 15:34:17.913762 P2Pool: 0 shares in chain (0 verified/3 total) Peers: 5 (5 incoming)
2014-02-21 15:34:17.914003 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2014-02-21 15:34:19.912680 Lost peer 5.9.123.82:55464 - Connection to the other side was lost in a non-clean fashion: Connection lost.
2014-02-21 15:34:19.913170 Lost peer 54.201.164.152:42593 - Connection to the other side was lost in a non-clean fashion: Connection lost.
2014-02-21 15:34:19.913541 Lost peer 108.44.169.63:53961 - Connection to the other side was lost in a non-clean fashion: Connection lost.
2014-02-21 15:34:19.914187 Lost peer 78.46.100.166:46698 - Connection to the other side was lost in a non-clean fashion: Connection lost.
2014-02-21 15:34:19.914972 Lost peer 91.235.254.37:45626 - Connection to the other side was lost in a non-clean fashion: Connection lost.
Please add Cryptogenic Bullion and PotCoin :)
Requesting PhishCoin support (http://coingen.bluematt.me/build/a72a8568.zip)
Any chance we will see Heavycoin added ?
See:
CartmanSPC@ce8a4ee
Hello yall & @Rav3nPL how can I NOT to reveal all statistic at public IP. Once I run a pool it is not running only at localhost but all information are automatically exposed to the entire word on public IP.
I have tried some changes in /p2pool/p2pool/web.py
allowed_hosts = (('127.0.0.1', PORT),)
def do_GET(self):
if self.client_address not in allowed_hosts:
self.send_response(401, 'request not allowed')
else:
super(WebInterface, self).do_GET()
also have tried to setup .htacces in web-static folder but it doesn't work, Can somebody please advice?
*Trying to disable access for statistic all but from 127.0.0.1 only.
i have 4,000 minners
but i use p2pool.py occupies about 10M/S bandwidth and the same number of miners mpos below 0.5M/S bandwidth than, I liked p2pool but I do not pay such high bandwidth costs
who can tell me how to optimize a very good p2pool?
Could we add Global coin to the networks.py & bitcoin networks.py of the Rav build. Not sure what will be needed to make this CatmanSPC p2pool object work in your build.
globalcoin=math.Object(
PARENT=networks.nets['globalcoin'],
SHARE_PERIOD=10, # 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=45, # blocks
IDENTIFIER='5F0183D62F698832'.decode('hex'),
PREFIX='52F8CF5955E02234'.decode('hex'),
P2P_PORT=23660,
MIN_TARGET=0,
MAX_TARGET=2256//220 - 1,
PERSIST=False,
WORKER_PORT=8860,
BOOTSTRAP_ADDRS='xpool.net us-east1.cryptovein.com'.split(' '),
ANNOUNCE_CHANNEL='#p2pool-glc',
VERSION_CHECK=lambda v: True,
),
globalcoin=math.Object(
P2P_PREFIX='fcd9b7dd'.decode('hex'),
P2P_PORT=55789,
ADDRESS_VERSION=15,
RPC_PORT=55788,
RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
'globalcoin address' in (yield bitcoind.rpc_help()) and
not (yield bitcoind.rpc_getinfo())['testnet']
)),
SUBSIDY_FUNC=lambda height: 100*100000000 >> (height + 1)//288400,
POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
BLOCK_PERIOD=40, # s targetspacing
SYMBOL='GLC',
CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'globalcoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/globalcoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.globalcoin'), 'globalcoin.conf'),
BLOCK_EXPLORER_URL_PREFIX='http://blockchainx.com/block/',
ADDRESS_EXPLORER_URL_PREFIX='http://blockchainx.com/address/',
TX_EXPLORER_URL_PREFIX='http://blockchainx.com/tx/',
SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
DUMB_SCRYPT_DIFF=2**16,
DUST_THRESHOLD=1e8,
),
looking to have fuelcoin added. have tried a few other p2pool's and i would like to try yours. i have not had much luck with the others and the local rate is displaying incorrectly on all of the coins i try.
It seems that LEAF P2Pool work on wrong chain.
Some nodes updated, some no, but two last blocks are found in wrong chain -
they are in old block chain:
http://cryptexplorer.com/block/ac2ef09ccb315069e32dc1943de7dc22685704fc302d9b61b11f785c36dd0e83
http://cryptexplorer.com/block/f9d88d0cfe49872eb16a6ef216e1b07b61e5ae4a83a4f7a2da88a7f9cec06c9a
and not in new:
http://explorer.leafco.in/block/ac2ef09ccb315069e32dc1943de7dc22685704fc302d9b61b11f785c36dd0e83
http://explorer.leafco.in/block/f9d88d0cfe49872eb16a6ef216e1b07b61e5ae4a83a4f7a2da88a7f9cec06c9a
What should we do to make it work right?
There is also a pull request on LEAF explorer (more details on update there): #35
if i understand patron_sendmany right, i would donate to all users on p2pool network.
In case of merged mining, only the local Users would contribute to the merged mined blocks,
so i would need a possibility to donate only to local (nodewide) Users. any possibility to get that on p2pool ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.