Bitcoin Forum
December 03, 2016, 04:44:13 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 [169] 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 ... 744 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2028758 times)
mdude77
Legendary
*
Offline Offline

Activity: 1358


View Profile
August 23, 2012, 08:08:36 PM
 #3361

EDIT: I am seeing now some console output looking like this

2012-08-23 12:51:08.201806 > Worker 1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx @ ##.##.##.## submitted share more than once!

Is this normal? (I see it more than once, presumably once per time they submitted the share, or maybe once per each tiem other than the first time that they submitted the share.) Or is it something they can correct at their end?

-MarkM-

This was fixed in a newer version of p2pool.

M

How many hours ago? It is not many hours yet since I pulled from github earlier today... I am using version 3.3 I think or something like that due to that pull.

-MarkM-

It was a long time ago that fixed it for me.  Might need to upgrade your miner too.  I'm using cgminer, 2.6.6 is the latest stable version it seems, I'm on 2.7.4 for now.

M

MMinerMonitor author, monitor/auto/schedule reboots/alerts/remote/MobileMiner for Ants and Spondoolies! Latest (5.2). MPoolMonitor author, monitor stats/workers for most pools, global BTC stats (current/nxt diff/USD val/hashrate/calc)! Latest (v4.2) 
Buyer beware of Bitmain hardware and services.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480740253
Hero Member
*
Offline Offline

Posts: 1480740253

View Profile Personal Message (Offline)

Ignore
1480740253
Reply with quote  #2

1480740253
Report to moderator
1480740253
Hero Member
*
Offline Offline

Posts: 1480740253

View Profile Personal Message (Offline)

Ignore
1480740253
Reply with quote  #2

1480740253
Report to moderator
kano
Legendary
*
Offline Offline

Activity: 1918


Linux since 1997 RedHat 4


View Profile
August 24, 2012, 12:07:45 AM
 #3362

...
How many hours ago? It is not many hours yet since I pulled from github earlier today... I am using version 3.3 I think or something like that due to that pull.

-MarkM-

It was a long time ago that fixed it for me.  Might need to upgrade your miner too.  I'm using cgminer, 2.6.6 is the latest stable version it seems, I'm on 2.7.4 for now.

M
Many moons ago p2pool tried to get it right ... Tongue
And if you look at the API 'stats' in 2.7.4 it will also tell you what is going on with the roll time information
(there are 4 fields describing it)

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
Naelr
Full Member
***
Offline Offline

Activity: 231


View Profile WWW
August 24, 2012, 12:40:44 AM
 #3363

Is it crazy to see 6.3 gigs upload as a result of P2Pool traffic?  BTC and LTC?
I do know I'd been running into my data cap (150GB per month) almost every month in the recent months that I was running p2pool. I'm not entirely sure that p2pool was the cause though.
Maybe check on the # of connections you guys are allowing, both in p2pool, and in your daemons, and cut them down more.

That should drop the cumulative bandwidth used.

-- Smoov

ps: You have a data cap? ... Does the data cap only count on traffic that goes outside of our network? Do you get free in-network traffic?


NO I have no data cap but they do tend to email me from time to time and say that 168 gigs of download is above the average users hahah... I rebooted machine last night ...  It has been up for 20 hours 11 minutes and uploaded 1.6 Gigs of data... recieved 371 Megs... isn't that a bit excessive... I Might shut down my p2pool nodes and see if it is that before I start blaming p2pool...

Naelr

Join me in hosted mining.  And always use 2 Factor Auth whenever possible.
CEX.IO hosting mining
Gabi
Legendary
*
Offline Offline

Activity: 1050


View Profile
August 24, 2012, 09:57:12 AM
 #3364

Lol are you joking or what? You pay for that connection, you better use it, or you want to give your ISP money for free? "Here ISP, take my money and don't worry i won't use my connection, i promise!  Shocked

They emailing you?  Shocked
Schleicher
Hero Member
*****
Offline Offline

Activity: 630



View Profile
August 24, 2012, 03:14:47 PM
 #3365

Looks like something is broken in p2pool 982a81a with bitcoin-next-20120813
Code:
2012-08-24 17:07:49.281000 GOT BLOCK FROM PEER! Passing to bitcoind! 2bd3ca75 bitcoin: http://blockexplorer.com/block/00000000000002a43f189eff39d5a2a12141c8bf03e9c5f2b7e958f22bd3ca75
2012-08-24 17:07:49.281000
2012-08-24 17:07:56.862000 ... done processing 501 shares. New: 501 Have: 26844/~17280
2012-08-24 17:07:56.862000 Requesting parent share 3d1a7c39 from 91.235.254.37:9333
2012-08-24 17:07:56.893000 P2Pool: 17312 shares in chain (10132 verified/26844 total) Peers: 10 (0 incoming)
2012-08-24 17:07:56.893000  Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2012-08-24 17:07:56.893000  Shares: 0 (0 orphan, 0 dead) Stale rate: ??? Efficiency: ??? Current payout: 0.0000 BTC
2012-08-24 17:07:56.893000  Pool: 316GH/s Stale rate: 6.0% Expected time to block: 8.3 hours
2012-08-24 17:07:57.049000 > Error submitting block: (will retry)
2012-08-24 17:07:57.049000 > Traceback (most recent call last):
2012-08-24 17:07:57.049000 >   File "C:\Python27-64\lib\site-packages\twisted\internet\defer.py", line 551, in _runCallbacks
2012-08-24 17:07:57.049000 >     current.result = callback(current.result, *args, **kw)
2012-08-24 17:07:57.049000 >   File "C:\Python27-64\lib\site-packages\twisted\internet\defer.py", line 1101, in gotResult
2012-08-24 17:07:57.049000 >     _inlineCallbacks(r, g, deferred)
2012-08-24 17:07:57.049000 >   File "C:\Python27-64\lib\site-packages\twisted\internet\defer.py", line 1043, in _inlineCallbacks
2012-08-24 17:07:57.049000 >     result = result.throwExceptionIntoGenerator(g)
2012-08-24 17:07:57.049000 >   File "C:\Python27-64\lib\site-packages\twisted\python\failure.py", line 382, in throwExceptionIntoGenerator
2012-08-24 17:07:57.049000 >     return g.throw(self.type, self.value, self.tb)
2012-08-24 17:07:57.049000 > --- <exception caught here> ---
2012-08-24 17:07:57.049000 >   File "D:\forrestv-p2pool\forrestv-p2pool-982a81a\p2pool\util\deferral.py", line 41, in f
2012-08-24 17:07:57.049000 >     result = yield func(*args, **kwargs)
2012-08-24 17:07:57.049000 >   File "C:\Python27-64\lib\site-packages\twisted\internet\defer.py", line 1043, in _inlineCallbacks
2012-08-24 17:07:57.049000 >     result = result.throwExceptionIntoGenerator(g)
2012-08-24 17:07:57.049000 >   File "C:\Python27-64\lib\site-packages\twisted\python\failure.py", line 382, in throwExceptionIntoGenerator
2012-08-24 17:07:57.049000 >     return g.throw(self.type, self.value, self.tb)
2012-08-24 17:07:57.049000 >   File "D:\forrestv-p2pool\forrestv-p2pool-982a81a\p2pool\main.py", line 306, in submit_block_rpc
2012-08-24 17:07:57.049000 >     result = yield bitcoind.rpc_submitblock(bitcoin_data.block_type.pack(block).encode('hex'))
2012-08-24 17:07:57.049000 >   File "C:\Python27-64\lib\site-packages\twisted\internet\defer.py", line 1043, in _inlineCallbacks
2012-08-24 17:07:57.049000 >     result = result.throwExceptionIntoGenerator(g)
2012-08-24 17:07:57.049000 >   File "C:\Python27-64\lib\site-packages\twisted\python\failure.py", line 382, in throwExceptionIntoGenerator
2012-08-24 17:07:57.049000 >     return g.throw(self.type, self.value, self.tb)
2012-08-24 17:07:57.049000 >   File "D:\forrestv-p2pool\forrestv-p2pool-982a81a\p2pool\util\jsonrpc.py", line 71, in callRemote
2012-08-24 17:07:57.049000 >     raise Error_for_code(resp['error']['code'])(resp['error']['message'], resp['error'].get('data', None))
2012-08-24 17:07:57.049000 > p2pool.util.jsonrpc.NarrowError: -32601 Method not found

Bitcoin donations: 1H2BHSyuwLP9vqt2p3bK9G3mDJsAi7qChw
Naelr
Full Member
***
Offline Offline

Activity: 231


View Profile WWW
August 24, 2012, 09:27:44 PM
 #3366

Lol are you joking or what? You pay for that connection, you better use it, or you want to give your ISP money for free? "Here ISP, take my money and don't worry i won't use my connection, i promise!  Shocked

They emailing you?  Shocked

I got one email suggesting there might be malware on my internal network to account for the "over-usage" but nothing more then saying hey your higher then the average person, and I could give 2 shits if they think I am being excessive and I don't care that I upped that much I just thought it was excessive and wanted explanation  .... and my mother-in-law lives with us and netflix is her entertainment so I can't have the cable modem being saturated on the upstream all the time.

Join me in hosted mining.  And always use 2 Factor Auth whenever possible.
CEX.IO hosting mining
racerguy
Sr. Member
****
Offline Offline

Activity: 271


View Profile
August 24, 2012, 09:35:13 PM
 #3367

Lol are you joking or what? You pay for that connection, you better use it, or you want to give your ISP money for free? "Here ISP, take my money and don't worry i won't use my connection, i promise!  Shocked

They emailing you?  Shocked

I got one email suggesting there might be malware on my internal network to account for the "over-usage" but nothing more then saying hey your higher then the average person, and I could give 2 shits if they think I am being excessive and I don't care that I upped that much I just thought it was excessive and wanted explanation  .... and my mother-in-law lives with us and netflix is her entertainment so I can't have the cable modem being saturated on the upstream all the time.

If you don't forward the bitcoin port from your router or disable upnp in your bitcoind you'll only be able to make outgoing connections to the network, that will stop bitcoind from using any real upload bandwidth (except when someone in the p2pool network finds a block which is only about 3x/day).
Krak
Hero Member
*****
Offline Offline

Activity: 591



View Profile WWW
August 24, 2012, 09:38:55 PM
 #3368

If you don't forward the bitcoin port from your router or disable upnp in your bitcoind you'll only be able to make outgoing connections to the network, that will stop bitcoind from using any real upload bandwidth (except when someone in the p2pool network finds a block which is only about 3x/day).
Or just set your max connections in your bitcoin.conf. I set mine to 10 so I can still have the port open without my network getting bogged down.

BTC: 1KrakenLFEFg33A4f6xpwgv3UUoxrLPuGn
streblo
Full Member
***
Offline Offline

Activity: 165


View Profile
August 24, 2012, 10:06:41 PM
 #3369

Hi forrestv,

There is a lot of interest in partial confirmations of transactions and p2pool has been proposed as a reasonable solution (see here). Specifically, the p2pool sharechain could guarantee that it will include a given txn in its next block (barring a conflicting transaction sneaking into the blockchain). Could you please comment on the feasibility of implementing such functionality into p2pool? What about the benefit? Does p2pool guaranteeing the inclusion of a txn provide any real benefit over sending your txn to the network and waiting for the majority of nodes to get it?

Thanks!
Gabi
Legendary
*
Offline Offline

Activity: 1050


View Profile
August 24, 2012, 11:15:44 PM
 #3370

If you don't forward the bitcoin port from your router or disable upnp in your bitcoind you'll only be able to make outgoing connections to the network, that will stop bitcoind from using any real upload bandwidth (except when someone in the p2pool network finds a block which is only about 3x/day).
Or just set your max connections in your bitcoin.conf. I set mine to 10 so I can still have the port open without my network getting bogged down.
I wonder why it's so hard for them to put all these options in the GUI
Naelr
Full Member
***
Offline Offline

Activity: 231


View Profile WWW
August 24, 2012, 11:39:23 PM
 #3371

If you don't forward the bitcoin port from your router or disable upnp in your bitcoind you'll only be able to make outgoing connections to the network, that will stop bitcoind from using any real upload bandwidth (except when someone in the p2pool network finds a block which is only about 3x/day).
Or just set your max connections in your bitcoin.conf. I set mine to 10 so I can still have the port open without my network getting bogged down.
that is exactly what  I did and all is better with the world!

Join me in hosted mining.  And always use 2 Factor Auth whenever possible.
CEX.IO hosting mining
Frizz23
Hero Member
*****
Offline Offline

Activity: 644



View Profile
August 25, 2012, 07:53:29 AM
 #3372

After luck improved I started using p2pool again (version 3.1 on win7x64). My hashrate is 840MH/s.

I ran it 24/7 for 3 weeks.

While it looked very promising at first - I got a constantly ~0.15 BTC per block - my reward started to decrease about 10 days ago. I got less and less for each block. At the moment it's only 0.03 BTC per block.

[EDIT] I just noticed that there were block where I got no reward at all. So it's like this over time: 0.15, 0.10, 0.7, 0.3, 0.0, 0.0 ...

First I thought it's a problem with my miner (cgminer 2.6.4) - so I restarted it.

But I still only get a reward of 0.03 BTC per block.

So p2pool must be the problem here.

Any ideas?

mdude77
Legendary
*
Offline Offline

Activity: 1358


View Profile
August 25, 2012, 11:54:43 AM
 #3373

After luck improved I started using p2pool again (version 3.1 on win7x64). My hashrate is 840MH/s.

I ran it 24/7 for 3 weeks.

While it looked very promising at first - I got a constantly ~0.15 BTC per block - my reward started to decrease about 10 days ago. I got less and less for each block. At the moment it's only 0.03 BTC per block.

First I thought it's a problem with my miner (cgminer 2.6.4) - so I restarted it.

But I still only get a reward of 0.03 BTC per block.

So p2pool must be the problem here.

Any ideas?

If it was your miner, it'll take 24 hours for your reward to increase.

Also, I know my rate varies from .8 to .9, roughly.  It seems to cycle, like a sine wave.  It's very peculiar, the entire hash rate across bitcoin seems to vary like that.

M

MMinerMonitor author, monitor/auto/schedule reboots/alerts/remote/MobileMiner for Ants and Spondoolies! Latest (5.2). MPoolMonitor author, monitor stats/workers for most pools, global BTC stats (current/nxt diff/USD val/hashrate/calc)! Latest (v4.2) 
Buyer beware of Bitmain hardware and services.
lenny_
Legendary
*
Offline Offline

Activity: 953



View Profile
August 25, 2012, 12:06:04 PM
 #3374

After luck improved I started using p2pool again (version 3.1 on win7x64). My hashrate is 840MH/s.

I ran it 24/7 for 3 weeks.

While it looked very promising at first - I got a constantly ~0.15 BTC per block - my reward started to decrease about 10 days ago. I got less and less for each block. At the moment it's only 0.03 BTC per block.

First I thought it's a problem with my miner (cgminer 2.6.4) - so I restarted it.

But I still only get a reward of 0.03 BTC per block.

So p2pool must be the problem here.

Any ideas?

With 840 MH/s, you are getting 0.39/day (on 100% luck). Check if your average is close to it. Block reward doesn't matter, your average reward matter.
Ente
Legendary
*
Offline Offline

Activity: 1834



View Profile
August 25, 2012, 02:03:59 PM
 #3375

Hi forrestv,

There is a lot of interest in partial confirmations of transactions and p2pool has been proposed as a reasonable solution (see here). Specifically, the p2pool sharechain could guarantee that it will include a given txn in its next block (barring a conflicting transaction sneaking into the blockchain). Could you please comment on the feasibility of implementing such functionality into p2pool? What about the benefit? Does p2pool guaranteeing the inclusion of a txn provide any real benefit over sending your txn to the network and waiting for the majority of nodes to get it?

Thanks!

Are you talking about something like regular unconfirmed transactions floating around the bitcoin network, waiting for inclusion into the next block?
So you would like to have p2pool say "we got this tx, will include it soon!"?

I don't see the advantage..
You can already see these [bitcoin] tx in your bitcoind (no idea if possible in a stock bitcoind) or on one of the pages, blockexplorer or the like. android bitcoin wallet shows tx too.
Now, seeing that tx there, or having additionally p2pool say to include it, makes no difference: as soon as someone else creates a conflicting tx, like a doublespend, and his tx gets included into the chain first (higher fees, quicker propagation, luck, he mined the next block himself), your original tx is down the toilet anyway.
p2pool is relatively small, so even if p2pool says "yep, will include your tx" as well as "..and we'll drop any future conflicting tx", it would only work if no other pool/miner finds the next block first and includes the unwanted conflicting tx.

So, what is your aim?

Ente
Frizz23
Hero Member
*****
Offline Offline

Activity: 644



View Profile
August 25, 2012, 02:19:03 PM
 #3376

With 840 MH/s, you are getting 0.39/day (on 100% luck). Check if your average is close to it. Block reward doesn't matter, your average reward matter.

I didn't get any reward on the last few blocks. cgminer was running. p2pool was running.

kjj
Legendary
*
Offline Offline

Activity: 1302



View Profile
August 25, 2012, 02:41:03 PM
 #3377

Hi forrestv,

There is a lot of interest in partial confirmations of transactions and p2pool has been proposed as a reasonable solution (see here). Specifically, the p2pool sharechain could guarantee that it will include a given txn in its next block (barring a conflicting transaction sneaking into the blockchain). Could you please comment on the feasibility of implementing such functionality into p2pool? What about the benefit? Does p2pool guaranteeing the inclusion of a txn provide any real benefit over sending your txn to the network and waiting for the majority of nodes to get it?

Thanks!

This would centralize control of p2pool, and would destroy it.  People mine on p2pool because it allows them to control the blocks that they create.  We will reject any proposal to force us to include transactions that do not meet our own local policy.

p2pcoin: a USB/CD/PXE p2pool miner - 1N8ZXx2cuMzqBYSK72X4DAy1UdDbZQNPLf - todo
I routinely ignore posters with paid advertising in their sigs.  You should too.
rav3n_pl
Legendary
*
Offline Offline

Activity: 1320


Don`t panic! Organize!


View Profile
August 25, 2012, 03:11:27 PM
 #3378

With 840 MH/s, you are getting 0.39/day (on 100% luck). Check if your average is close to it. Block reward doesn't matter, your average reward matter.

I didn't get any reward on the last few blocks. cgminer was running. p2pool was running.
See your stats page and see wgo....

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
My SatoshDice bot https://bitcointalk.org/index.php?topic=897685
streblo
Full Member
***
Offline Offline

Activity: 165


View Profile
August 25, 2012, 05:40:03 PM
 #3379

Hi forrestv,

There is a lot of interest in partial confirmations of transactions and p2pool has been proposed as a reasonable solution (see here). Specifically, the p2pool sharechain could guarantee that it will include a given txn in its next block (barring a conflicting transaction sneaking into the blockchain). Could you please comment on the feasibility of implementing such functionality into p2pool? What about the benefit? Does p2pool guaranteeing the inclusion of a txn provide any real benefit over sending your txn to the network and waiting for the majority of nodes to get it?

Thanks!

Are you talking about something like regular unconfirmed transactions floating around the bitcoin network, waiting for inclusion into the next block?
So you would like to have p2pool say "we got this tx, will include it soon!"?

I don't see the advantage..
You can already see these [bitcoin] tx in your bitcoind (no idea if possible in a stock bitcoind) or on one of the pages, blockexplorer or the like. android bitcoin wallet shows tx too.
Now, seeing that tx there, or having additionally p2pool say to include it, makes no difference: as soon as someone else creates a conflicting tx, like a doublespend, and his tx gets included into the chain first (higher fees, quicker propagation, luck, he mined the next block himself), your original tx is down the toilet anyway.
p2pool is relatively small, so even if p2pool says "yep, will include your tx" as well as "..and we'll drop any future conflicting tx", it would only work if no other pool/miner finds the next block first and includes the unwanted conflicting tx.

So, what is your aim?

Ente
Thank you for the comments. First a small aside: regarding a competing tx getting into the blockchain before the first due to a higher tx fee, I don't believe this is the case. Ie if you broadcast send 10BTC from A->B with .005BTC fee and, 10 mins later, broadcast a tx from A->C with 1btc fee, I believe the latter is rejected. Otherwise I believe "race attacks" (is that the right name?) would be stupendously easy to implement.

I believe the hope is to reduce the trust you need in a pool that they will include your txn. If a centralized pool says, "yep, we got tx0, we're working on it!" you have to trust them. OTOH, if p2pool says, "consensus agrees that we got tx0, and the sharechain now requires we included it (if it matches eligibility criteria)!" you can believe this more likely to be true. Is this wrong?

Finally, AFAIK, you are correct about this doing nothing for many double spending attacks. Perhaps the benefit doesn't outweigh the cost.

This would centralize control of p2pool, and would destroy it.  People mine on p2pool because it allows them to control the blocks that they create.  We will reject any proposal to force us to include transactions that do not meet our own local policy.
Sorry I wasn't clear enough. This additionally functionality, as I interpret it, would allow a p2pool node to check the sharechain to see if a tx is going to be included or not, and know with certainty that if p2pool finds the next block, it WILL be included (if another pool finds the next block with a competing tx, then obviously all bets are off). If a tx doesn't meet p2pool criteria, it won't be added to the "include list" and it's inclusion won't be forced on p2pool by any means.
kjj
Legendary
*
Offline Offline

Activity: 1302



View Profile
August 25, 2012, 06:35:36 PM
 #3380

This would centralize control of p2pool, and would destroy it.  People mine on p2pool because it allows them to control the blocks that they create.  We will reject any proposal to force us to include transactions that do not meet our own local policy.
Sorry I wasn't clear enough. This additionally functionality, as I interpret it, would allow a p2pool node to check the sharechain to see if a tx is going to be included or not, and know with certainty that if p2pool finds the next block, it WILL be included (if another pool finds the next block with a competing tx, then obviously all bets are off). If a tx doesn't meet p2pool criteria, it won't be added to the "include list" and it's inclusion won't be forced on p2pool by any means.

p2pool doesn't have a criteria.  Each individual p2pool node sets their own criteria.

You can look at the share chain and see if and how many shares were created that did include that transaction, but that doesn't tell you anything at all about the next share or the next block.

p2pcoin: a USB/CD/PXE p2pool miner - 1N8ZXx2cuMzqBYSK72X4DAy1UdDbZQNPLf - todo
I routinely ignore posters with paid advertising in their sigs.  You should too.
Pages: « 1 ... 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 [169] 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 ... 744 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!