Pages:
Author

Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool - page 7. (Read 2591876 times)

hero member
Activity: 818
Merit: 1006
First, I don't know where you're getting your numbers. The BTC network hashrate is about 19.5 EH/s, not 4.29 EH/s.

https://blockchain.info/charts/hash-rate

Also, jtoomimnet p2pool's hashrate is about 5.6 PH/s, which is a lot better than mainnet's 1.5 PH/s

If mainnet p2pool's hashrate is 1.5 PH/s, and BTC's total hashrate is 19.5 EH/s = 19500 PH/s, then mainnet p2pool has a 1.5 / 19500 = 1 in 13,000 chance to mine each block. Each day we get 144 blocks, so mainnet should see on average one block every 13000/144. = 90 days.

Until we find a block they will find one and every time we have to start from the beginning, so how do we ever get one...
"The beginning" isn't the right way to think about it, because there is nothing except "the beginning". There is no progress to abandon. Every hash you do is starting from the beginning, and you finish a nanosecond later. Most attempts are failures. Each time someone has a successful 1-nanosecond-long attempt, they get the block reward.

Everyone is rolling dice. Some people have more dice than others, but it doesn't matter. The first person to roll a 1 on a 1,000,000,000,000-sided die wins that round, and then everyone walks to a new table and starts again. Your chance of winning is proportional to the number of dice rolls you make.
newbie
Activity: 8
Merit: 0
2- With my limited blockchain knowledge I thought that to solve a block you need the previous block to hash.. If we are solving blocks how do we know the previous block since giants like btc.com, antpool etc etc solve blocks every 10 minutes.. Then this means that once we start hashing a block the previous block is obsolete since these giants have already finds blocks..
You need the hash of the previous block, yes. But there is no progress to abandon. It's not like after 1 day, we're 10% of the way to mining a block, and can predict that we'll mine a block in 9 more days. Mining is like rolling a die with 1,000,000,000,000,000 sides. If the die comes up with a 1, then you've mined a valid block. If the die comes up with any other number, then you have not mined a block and need to try again. When someone else publishes a new block, that forces us to roll a die at a different table. When you switch tables, you don't bring anything with you from the old table, and you abandon the roll in progress. But it doesn't matter, because each round of the game only lasts a billionth of a second and is independent from all other rounds.

Thank you Jtoomim,

I still have not clearly understood .. the total Hashing power of p2pool is around 1.5ph where as btc poll is around 4.290eh.. So they will crush the blocks every time we start hashing. And also our expected time on finding a block on your fork is around 10-15 days (87 days on p2pool)... Until we find a block they will find one and every time we have to start from the beginning, so how do we ever get one...

Thanks..
newbie
Activity: 32
Merit: 0
You get paid whenever a block is found. For Litecoin, that will average about once a day, but there may be no payouts at all on some days if we are unlucky. Your payments for the first few days will start smaller and will ramp up. After you stop mining, your payments will slowly ramp down over a few days.


I set mooncoin wallet address to bleutrade mooncoin address. Is this a problem? It has passed 24 hours. The p2pool site has a hash speed of 1.8g hash. Help

Mining dashboard : https://moonchain.net/a/2T2xx8srAQ

yes, you shouldnt of used an exchange wallet id. Contact bleutrade...sometimes exchanges have problems with generated coins. They should be able to help you.


**edit** also that is not the mining dashboard...that is just simple a blockchain explorer, which shows wallet balances and transactions. Looks like a balance of 34k mooncoins currently, with some other transactions that took place as well.
hero member
Activity: 818
Merit: 1006
2- With my limited blockchain knowledge I thought that to solve a block you need the previous block to hash.. If we are solving blocks how do we know the previous block since giants like btc.com, antpool etc etc solve blocks every 10 minutes.. Then this means that once we start hashing a block the previous block is obsolete since these giants have already finds blocks..
You need the hash of the previous block, yes. But there is no progress to abandon. It's not like after 1 day, we're 10% of the way to mining a block, and can predict that we'll mine a block in 9 more days. Mining is like rolling a die with 1,000,000,000,000,000 sides. If the die comes up with a 1, then you've mined a valid block. If the die comes up with any other number, then you have not mined a block and need to try again. When someone else publishes a new block, that forces us to roll a die at a different table. When you switch tables, you don't bring anything with you from the old table, and you abandon the roll in progress. But it doesn't matter, because each round of the game only lasts a billionth of a second and is independent from all other rounds.
hero member
Activity: 818
Merit: 1006
If you are trying to mine Vertcoin, you need to install vertcoind, not bitcoind. bitcoind is for mining bitcoin or bitcoin cash.
newbie
Activity: 32
Merit: 0
Quote
I was about to ask exactly the same questions as Momentmc.. Thank you for your kind answers Keith.

I myself have few questions as well.

1- So what I understand that I have to wait 15-20 days to get paid.. But  while checking this node: http://212.45.19.162:9332/static/ I have found that this wallet is
https://blockchain.info/address/1EntfMRTWee7oGYfDf4vNRE62frXrmCT8a getting roughly 0.01 per day for 35 to 40TH... He/she gets paid every 5 to 7 days...  This is mainnet.. If Mainnet is getting blocks every 70 days what is this payment ?

2- With my limited blockchain knowledge I thought that to solve a block you need the previous block to hash.. If we are solving blocks how do we know the previous block since giants like btc.com, antpool etc etc solve blocks every 10 minutes.. Then this means that once we start hashing a block the previous block is obsolete since these giants have already finds blocks..

3- jtoomim is it an other fork of p2pool. I have tried installing it on my mac.. had a lot of difficulty ..

Thanks...


No problem.

1- you are just looking at the blockchain explorer, pretty much just all the transaction of his wallets. Not everything that shows up there is from mining. If you send or receive any BTC, the explorer with show it ALL. But the link you provided appears to be another p2pool BTC mainnet node. That wallet ID you pointed out will only get paid when p2pool MAINNET finds a block. Predicted payout = payout at time of block finding by the pool.

2- Confused ? =D The bigger pools do smash blocks. There are work restarts, but I dont have any answer for ya. Im sure, one of the super smart guys can answer it tho im sure.

3- yes so there are two forks of p2pool BTC nets to mine on. One is the mainnet, which to me seems out dated. The other is Jtoomimnet(1mb_segwit), which seems to be smoother. I personally always tell people to join Jtoomimnet. His code seems to be superior, but thats just me from a miners standpoint and knowing what I know. Im no programmer by the way, but I know a tad bit of code to get by, barely. Jtoomim just implemented his 1mb_segwit fork to the p2pool LTC network and I will say it has improved the network dramatically.

Here are the two different nets. Not sure of the location of these nodes, but just to give an example.

http://crypto.office-on-the.net:9334/static/ <--Jtoomimnet node
http://crypto.office-on-the.net:9332/static/ <--Mainnet node
newbie
Activity: 8
Merit: 0
Hi, I have a few questions.  Huh

1- I started mining with 20 "antminer" s9. I did not build my own Node. I'm mining for p2pool (http://p2pool.org/stats/node.php) It is stated that a payment will be made in 72 hours. If I do not find a block, can not I get this money?

2- Have you received money within 3 days of those who mining up until now? S9 or Bitcoin?

3- Do I receive a reward for the transfer fee from the scavenging I made in the P2pool pool or mining a block?

4- What do I understand when I see the following? Didn't find 6 daytime blocks?

https://image.ibb.co/cuHXgw/doa.png

Ps: I'm so sorry my english isn't good.

Thanks

1 - first you are mining on p2pool mainnet, I suggest Jtoomimnet for BTC mining. Or at least find a node that seems to be more efficient than the one you are on. If no block is found, there is no BTC to payout to the miners. This isnt a PAY PER SHARE pool. You get paid based on blocks found and shares you submitted into the sharechain. So that means whatever your PREDICTED PAYMENT is at the time of a found block, thats what you will get for your mining work.

2- you will receive BTC when a block is found by the pool. Everyone is paid almost immediately after found blocks. The coins are generated coins that no one touches but your wallet.

3- p2pool pays the miners the founds blocks and transaction fees of that block. So normal BTC block = 12.5 BTC + extra transfer fees. Same with LTC network, just block reward is 25 LTC + transaction fees. Sometimes transfer fees almost make the block reward DOUBLE. p2pool, Kano.is, and Slushpool are the only pools that I know payout the transaction fee, in the BTC world. I could be wrong..

4- what you are highlighting is found blocks, but im pretty sure those are invalid? Not 100%, I mostly follow LTC p2pool. Like i said before, get off mainnet p2pool btc and join jtoomim net. More hash and smoother network.

Hope I answered your questions...and again, get off mainnet p2pool and join a Jtoomimnet node. ~80day est BLOCK time vs ~15-20days is a big difference. Not to mention the difference in block sizes between the two... LETS CRUSH BLOCKS!

-Keith

I was about to ask exactly the same questions as Momentmc.. Thank you for your kind answers Keith.

I myself have few questions as well.

1- So what I understand that I have to wait 15-20 days to get paid.. But  while checking this node: http://212.45.19.162:9332/static/ I have found that this wallet is
https://blockchain.info/address/1EntfMRTWee7oGYfDf4vNRE62frXrmCT8a getting roughly 0.01 per day for 35 to 40TH... He/she gets paid every 5 to 7 days...  This is mainnet.. If Mainnet is getting blocks every 70 days what is this payment ?

2- With my limited blockchain knowledge I thought that to solve a block you need the previous block to hash.. If we are solving blocks how do we know the previous block since giants like btc.com, antpool etc etc solve blocks every 10 minutes.. Then this means that once we start hashing a block the previous block is obsolete since these giants have already finds blocks..

3- jtoomim is it an other fork of p2pool. I have tried installing it on my mac.. had a lot of difficulty ..

Thanks...
newbie
Activity: 32
Merit: 0
Hi, I have a few questions.  Huh

1- I started mining with 20 "antminer" s9. I did not build my own Node. I'm mining for p2pool (http://p2pool.org/stats/node.php) It is stated that a payment will be made in 72 hours. If I do not find a block, can not I get this money?

2- Have you received money within 3 days of those who mining up until now? S9 or Bitcoin?

3- Do I receive a reward for the transfer fee from the scavenging I made in the P2pool pool or mining a block?

4- What do I understand when I see the following? Didn't find 6 daytime blocks?

https://image.ibb.co/cuHXgw/doa.png

Ps: I'm so sorry my english isn't good.

Thanks

1 - first you are mining on p2pool mainnet, I suggest Jtoomimnet for BTC mining. Or at least find a node that seems to be more efficient than the one you are on. If no block is found, there is no BTC to payout to the miners. This isnt a PAY PER SHARE pool. You get paid based on blocks found and shares you submitted into the sharechain. So that means whatever your PREDICTED PAYMENT is at the time of a found block, thats what you will get for your mining work.

2- you will receive BTC when a block is found by the pool. Everyone is paid almost immediately after found blocks. The coins are generated coins that no one touches but your wallet.

3- p2pool pays the miners the founds blocks and transaction fees of that block. So normal BTC block = 12.5 BTC + extra transfer fees. Same with LTC network, just block reward is 25 LTC + transaction fees. Sometimes transfer fees almost make the block reward DOUBLE. p2pool, Kano.is, and Slushpool are the only pools that I know payout the transaction fee, in the BTC world. I could be wrong..

4- what you are highlighting is found blocks, but im pretty sure those are invalid? Not 100%, I mostly follow LTC p2pool. Like i said before, get off mainnet p2pool btc and join jtoomim net. More hash and smoother network.

Hope I answered your questions...and again, get off mainnet p2pool and join a Jtoomimnet node. ~80day est BLOCK time vs ~15-20days is a big difference. Not to mention the difference in block sizes between the two... LETS CRUSH BLOCKS!

-Keith
newbie
Activity: 28
Merit: 0
It looks like we have resolved our networking problems. ml.toom.im:9332, :9334, and :7903 should be available again outside our LAN once again, and woff.toom.im:9348 and :9327 once again have hashrate on them.
So what happen to all the shares I had on that node?
Your shares were not on that node. They were on the p2pool network. When my nodes go down, they're no longer contributing to the p2pool network, but the shares that were mined before my nodes went down have been copied to all other nodes on the same network (i.e. jtoomimnet).
Ahh, blockchain...Ii should have thought. Thanks JT
hero member
Activity: 818
Merit: 1006
You get paid whenever a block is found. For Litecoin, that will average about once a day, but there may be no payouts at all on some days if we are unlucky. Your payments for the first few days will start smaller and will ramp up. After you stop mining, your payments will slowly ramp down over a few days.
hero member
Activity: 818
Merit: 1006
It looks like we have resolved our networking problems. ml.toom.im:9332, :9334, and :7903 should be available again outside our LAN once again, and woff.toom.im:9348 and :9327 once again have hashrate on them.
So what happen to all the shares I had on that node?
Your shares were not on that node. They were on the p2pool network. When my nodes go down, they're no longer contributing to the p2pool network, but the shares that were mined before my nodes went down have been copied to all other nodes on the same network (i.e. jtoomimnet).
newbie
Activity: 28
Merit: 0
So what happen to all the shares I had on that node?
hero member
Activity: 818
Merit: 1006
We're having some trouble with our primary internet connection at our datacenter. ml.toom.im:9332, :9334, :9336, and :7903 will be unavailable probably for a few days. woff.toom.im:9348 and woff.toom.im:9327 should still be working, but our miners can't reach those ports any longer due to how our LAN and firewalls are currently configured during failover situations, so we will not be contributing any BCH or LTC hashrate until we get this issue resolved.

I lied about no errors....also, adding ANY +diff number and my miner always shows Diff of 8.04M
"'NoneType' object has no attribute 'expire'" messages can safely be ignored. They happen even when the node is working properly. That's just a cosmetic bug AFAIK. Not sure why address+XXXXX isn't working; I noticed that too on an earlier version of the code. That seems to be mostly cosmetic though, so I might not look into it for a while.

Only 2 submitted shares this whole time with 8GH on my node. It seems that the diff for each is going everywhere? ... *edit* no longer using 1mb_segwit fork.
1mb_segwit and p2pool/p2pool master should have the same litecoin share difficulty. They may have different pseudoshare difficulties, but pseudoshare difficulty is only used for statistics and does not affect revenue (unless it's so low that your CPU gets saturated, at least). Difficulty will be much higher than before due to the higher pool hashrate.

If those are the closest nodes to you, it all looks good.
Single-threaded CPU speed (including whether you're running pypy) is about 10x as important on Bitcoin p2pool as network latency is. It typically takes somewhere between 0.5 seconds and 3 seconds to process a share and issue new work on p2pool, depending on CPU speed, but it only takes between 0.001 seconds and 0.3 seconds to transmit stratum jobs to and from the miner and node.


Besides the invalid block this morning(im guessing invalid?)

As for the invalid LTC block from Wednesday Jan 24 at 12pm GMT, my litecoin debug.log says this:

Code:
2018-01-24 12:09:34 CreateNewBlock(): total size: 36290 block weight: 144287 txs: 95 fees: 10300975 sigops 1227
2018-01-24 12:09:49 CreateNewBlock(): total size: 38752 block weight: 154135 txs: 102 fees: 10740075 sigops 1283
2018-01-24 12:10:04 CreateNewBlock(): total size: 43993 block weight: 174106 txs: 113 fees: 11370458 sigops 1362
2018-01-24 12:10:19 CreateNewBlock(): total size: 61073 block weight: 242426 txs: 126 fees: 13213178 sigops 1482
2018-01-24 12:10:29 ERROR: ConnectBlock(): coinbase pays too much (actual=2511370458 vs limit=2511291614)
2018-01-24 12:10:29 InvalidChainFound: invalid block=496cf90d143d6ad706ec965d1fb2fabee62e6c493d32bc245384fc637d520c28  height=1355999  log2_work=69.614049  date=2018-01-24 12:10:05
2018-01-24 12:10:29 InvalidChainFound:  current best=815e95cd59cdc16d20dc8add274fe3f5683174fdbe8c297eac5cfd3adfbd239f  height=1355998  log2_work=69.614023  date=2018-01-24 12:07:47
2018-01-24 12:10:29 ERROR: ConnectTip(): ConnectBlock 496cf90d143d6ad706ec965d1fb2fabee62e6c493d32bc245384fc637d520c28 failed
2018-01-24 12:10:29 InvalidChainFound: invalid block=496cf90d143d6ad706ec965d1fb2fabee62e6c493d32bc245384fc637d520c28  height=1355999  log2_work=69.614049  date=2018-01-24 12:10:05
2018-01-24 12:10:29 InvalidChainFound:  current best=815e95cd59cdc16d20dc8add274fe3f5683174fdbe8c297eac5cfd3adfbd239f  height=1355998  log2_work=69.614023  date=2018-01-24 12:07:47
2018-01-24 12:10:29 ERROR: AcceptBlockHeader: block 496cf90d143d6ad706ec965d1fb2fabee62e6c493d32bc245384fc637d520c28 is marked invalid
2018-01-24 12:10:29 Peer 14 sent us invalid header via cmpctblock
2018-01-24 12:10:29 ERROR: AcceptBlockHeader: block 496cf90d143d6ad706ec965d1fb2fabee62e6c493d32bc245384fc637d520c28 is marked invalid
2018-01-24 12:10:29 ERROR: ProcessNewBlock: AcceptBlock FAILED
2018-01-24 12:10:30 ERROR: AcceptBlockHeader: block 496cf90d143d6ad706ec965d1fb2fabee62e6c493d32bc245384fc637d520c28 is marked invalid
2018-01-24 12:10:30 Peer 18 sent us invalid header via cmpctblock
2018-01-24 12:10:34 CreateNewBlock(): total size: 64138 block weight: 254686 txs: 137 fees: 13520639 sigops 1562
2018-01-24 12:10:49 CreateNewBlock(): total size: 68992 block weight: 273439 txs: 152 fees: 15049509 sigops 1672
2018-01-24 12:11:05 CreateNewBlock(): total size: 75486 block weight: 298755 txs: 163 fees: 16182859 sigops 1750
2018-01-24 12:11:14 UpdateTip: new best=924b90b24a8003352e01c6e3bdb183466b718850e1da82ed1662d907e5e486de height=1355999 version=0x20000000 log2_work=69.614049 tx=20103178 date='2018-01-24 12:11:08' progress=1.000000 cache=22.9MiB(7817tx)
2018-01-24 12:11:14 CreateNewBlock(): total size: 1753 block weight: 6904 txs: 4 fees: 152800 sigops 432
2018-01-24 12:11:29 CreateNewBlock(): total size: 7627 block weight: 30400 txs: 15 fees: 1095648 sigops 576

The error is "coinbase pays too much (actual=2511370458 vs limit=2511291614)". Someone was trying to earn 0.00078844 LTC too much in that block. That invalid block was mined by LZzzELrQifCah5oafpNuCA6dLiyacVJNDa, and they were not using my code (they were voting for v17 shares). If anyone can find the node used by that miner, that would be helpful. You can sometimes get hints by browsing to (node IP:port)/static/share.html#496cf90d143d6ad706ec965d1fb2fabee62e6c493d32bc245384fc637d520c28 and seeing which peer it was received from, then repeating the process. This gets harder when nodes have non-standard UIs, though, and when I tried to do this on this share, the first node I ran into was running a non-standard UI. Someone else might have better luck.

It may be necessary to add some code to p2pool to check the coinbase payments to make sure that they don't violate rules like this, and punish (orphan) shares that are invalid in this way. But that sucks, because it means more code that I don't have time to write.

newbie
Activity: 32
Merit: 0
http://cyberdyne-mining.io:9327/static/ <--rock solid, 1mb_Segwit fork running PYPY

Besides the invalid block this morning(im guessing invalid?), I just had someone dump 15GH+ alone on my LTC p2pool node. That puts me at ~29GH with everything looking smooth so far. Current efficiency at time of post = 101% with 83 total shares as of now. Now we just need the block train to come thru =] Again, well done Jtoomim.
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
Hi !

I have S9

Is this correct for him ?

Pool 1: crypto.mine.nu:9334

Pool 2: low-doa.mine.nu:9332

Pool 3: 31.41.40.25:9332

Worker: BTC address from your wallet
You should point it at your own p2pool first - remember p2pool is supposed to be decentralised ... according to the thread title Tongue
newbie
Activity: 32
Merit: 0
Hi !

I have S9

Is this correct for him ?

Pool 1: crypto.mine.nu:9334

Pool 2: low-doa.mine.nu:9332

Pool 3: 31.41.40.25:9332

Worker: BTC address from your wallet

If those are the closest nodes to you, it all looks good.
newbie
Activity: 24
Merit: 0
Hi !

I have S9

Is this correct for him ?

Pool 1: crypto.mine.nu:9334

Pool 2: low-doa.mine.nu:9332

Pool 3: 31.41.40.25:9332

Worker: BTC address from your wallet
newbie
Activity: 32
Merit: 0
I lied about no errors....also, adding ANY +diff number and my miner always shows Diff of 8.04M
Running on ubuntu server

Code:
Traceback (most recent call last):
  File "/usr/local/lib/pypy2.7/dist-packages/Twisted-15.4.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 501, in _startRunCallbacks
    self._runCallbacks()
  File "/usr/local/lib/pypy2.7/dist-packages/Twisted-15.4.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 588, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/home/skynet/p2pool/p2pool/util/deferral.py", line 256, in gotResult
    it(res2)
  File "/home/skynet/p2pool/p2pool/util/deferral.py", line 233, in it
    res = gen.send(cur) # external code is run here
--- ---
  File "/home/skynet/p2pool/p2pool/util/deferral.py", line 284, in _worker
    self.func(*self.args, **self.kwargs)
  File "/home/skynet/p2pool/p2pool/util/expiring_dict.py", line 109, in
    self._expire_loop = expire_loop = deferral.RobustLoopingCall(lambda: self_ref().expire())
exceptions.AttributeError: 'NoneType' object has no attribute 'expire'

Unhandled Error
Traceback (most recent call last):
  File "/usr/local/lib/pypy2.7/dist-packages/Twisted-15.4.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 501, in _startRunCallbacks
    self._runCallbacks()
  File "/usr/local/lib/pypy2.7/dist-packages/Twisted-15.4.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 588, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/home/skynet/p2pool/p2pool/util/deferral.py", line 256, in gotResult
    it(res2)
  File "/home/skynet/p2pool/p2pool/util/deferral.py", line 233, in it
    res = gen.send(cur) # external code is run here
--- ---
  File "/home/skynet/p2pool/p2pool/util/deferral.py", line 284, in _worker
    self.func(*self.args, **self.kwargs)
  File "/home/skynet/p2pool/p2pool/util/expiring_dict.py", line 109, in
    self._expire_loop = expire_loop = deferral.RobustLoopingCall(lambda: self_ref().expire())
exceptions.AttributeError: 'NoneType' object has no attribute 'expire'
newbie
Activity: 32
Merit: 0
so back at it again this morning running 1mb_segwit fork. My miner are showing a diff of 4.07k and still no shares from any miners on my node. If you goto http://cyberdyne-mining.io:9327/static/UI/ you see can the differences in the share diff for each miner. Miners of same hashrate sometimes have crazy diff. Not getting any errors on my back end. Seemed yesterday I got 2 valid shares then after that nothing.

**edit**
seems I may have freaked out a bit  Cheesy I guess the network is that much more difficulty with the added hash now? My node seems to be getting shares, staying in the 95-100% efficiency range so far running PYPY. I've also gathered a growing group of miners already on my node, they smelt the blocks with the newly added hashrate?  Cool . My node is currently pushing ~13.9GH

http://cyberdyne-mining.io:9327/static/
http://cyberdyne-mining.io:9327/static/UI/ for those that like it fancy
newbie
Activity: 32
Merit: 0
Awesome. So I'm running your fork and seem to have some issues. Only 2 submitted shares this whole time with 8GH on my node. It seems that the diff for each is going everywhere? http://cyberdyne-mining.io:9327/static/

*edit* no longer using 1mb_segwit fork. Will test some more later
Pages:
Jump to: