Bitcoin Forum
December 11, 2016, 06:16:48 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 [19] 20 21 22 23 24 25 26 27 28 29 »
  Print  
Author Topic: p2pool - Decentralized, Absolutely DoS-Proof, Pool Hopping-Proof Pool [archival]  (Read 31767 times)
forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
January 11, 2012, 02:35:00 AM
 #361

Two things ... first, the code seems to actually be checking the
target before submitting back to the pool. I might have misread,
but every CPU implementation in cgminer actually calls fulltest
on a matching piece of work.

Second, I now have mined close to 40 shares that all triggered
a "worker submitted share with hash > target" ... this is increasingly
likely a bug somewhere.

Question : what made you say that older version of cgminer displayed
this behavior ? Did I miss something in the way the target is handled
by cgminer in the case of your pool ?

I am very sure that it doesn't... I am testing CPU mining with cgminer and looked at the code. The CPU mining code never calls fulltest. One of every 138 of your shares should qualify as a P2Pool share.

An older version of cgminer didn't check the target when GPU mining.

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
1481437008
Hero Member
*
Offline Offline

Posts: 1481437008

View Profile Personal Message (Offline)

Ignore
1481437008
Reply with quote  #2

1481437008
Report to moderator
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481437008
Hero Member
*
Offline Offline

Posts: 1481437008

View Profile Personal Message (Offline)

Ignore
1481437008
Reply with quote  #2

1481437008
Report to moderator
1481437008
Hero Member
*
Offline Offline

Posts: 1481437008

View Profile Personal Message (Offline)

Ignore
1481437008
Reply with quote  #2

1481437008
Report to moderator
Matoking
Sr. Member
****
Offline Offline

Activity: 352

Firstbits: 1m8xa


View Profile WWW
January 11, 2012, 07:14:28 PM
 #362

The Bitcoin client (v0.5.1) tends to crash every now and then while I'm using p2pool.

BTC : 1CcpmVDLvR7DgA5deFGScoNhiEtiJnh6H4 - LTC : LYTnoXAHNsemMB2jhCSi1znQqnfupdRkSy
Bitcoin-otc
BitBin - earn bitcoins with your pastes!
LightRider
Legendary
*
Offline Offline

Activity: 1488


I advocate the Zeitgeist Movement & Venus Project.


View Profile WWW
January 11, 2012, 09:23:14 PM
 #363

The Bitcoin client (v0.5.1) tends to crash every now and then while I'm using p2pool.

Consistently for me also.

I can use bitcoind without a problem.

Bitcoin combines money, the wrongest thing in the world, with software, the easiest thing in the world to get wrong.
Visit www.thevenusproject.com and www.theZeitgeistMovement.com.
thirdlight
Sr. Member
****
Offline Offline

Activity: 281



View Profile
January 11, 2012, 09:51:04 PM
 #364

Got a block
Therilith
Member
**
Offline Offline

Activity: 62


100X100111XX10


View Profile
January 11, 2012, 10:59:38 PM
 #365

Seems I've got a problem.
It keeps receiving work every few seconds, but it doesn't actually do any hashing.

Code:
[11/01/2012 23:49:21] Phoenix r778e6bc535491e142aff5b6cc1ac1278a57b503a starting
...
[11/01/2012 23:49:21] Connected to server
[11/01/2012 23:49:21] Server gave new work; passing to WorkQueue
[11/01/2012 23:49:21] New block (WorkQueue)
[0 Khash/sec] [0 Accepted] [0 Rejected] [RPC]Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "twisted\internet\defer.pyc", line 542, in _runCallbacks

  File "QueueReader.pyc", line 141, in preprocess

  File "twisted\internet\defer.pyc", line 297, in addCallback

  File "twisted\internet\defer.pyc", line 286, in addCallbacks

--- <exception caught here> ---
  File "twisted\internet\defer.pyc", line 542, in _runCallbacks

  File "QueueReader.pyc", line 141, in <lambda>

exceptions.TypeError: argument 2 to map() must support iteration
[11/01/2012 23:49:21] Server gave new work; passing to WorkQueue
[11/01/2012 23:49:22] Using new LP URL /long-polling
[11/01/2012 23:49:22] LP connected to 127.0.0.1:9332
[11/01/2012 23:49:22] Server gave new work; passing to WorkQueue
[11/01/2012 23:49:22] LP: New work pushed
[0 Khash/sec] [0 Accepted] [0 Rejected] [RPC (+LP)]

Money is power. If you would like to transfer some of your power to me (making yourself weaker and me stronger), use the following address: 1PoFSpghmpsebfwZwnu5PPmmv2u9uYgJKo
marcus_of_augustus
Legendary
*
Offline Offline

Activity: 2100



View Profile
January 13, 2012, 04:06:24 AM
 #366

just watching ... nice work.

gnar1ta$
Donator
Hero Member
*
Offline Offline

Activity: 756


View Profile
January 13, 2012, 05:22:35 PM
 #367

Can someone list the commands to get bitcoind and namecoind installed and running on Ubuntu 11.04 headless?  I'm doing something wrong.  I would like to try out p2pool with merged mining using cgminer.

Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
ovidiusoft
Sr. Member
****
Offline Offline

Activity: 252


View Profile
January 13, 2012, 07:08:10 PM
 #368

Can someone list the commands to get bitcoind and namecoind installed and running on Ubuntu 11.04 headless?  I'm doing something wrong.  I would like to try out p2pool with merged mining using cgminer.

I assume 64 bit. If you're running on 32, change the 2 occurences of 64 to 32 below.

Code:
$ mkdir -p ~/bin
$ wget http://dot-bit.org/files/namecoin_linux64.tgz
$ tar xvzf namecoin_linux64.tgz
$ mv namecoind ~/bin
$ wget http://downloads.sourceforge.net/project/bitcoin/Bitcoin/bitcoin-0.5.1/bitcoin-0.5.1-linux.tar.gz
$ tar xvzf bitcoin-0.5.1-linux.tar.gz
$ mv bitcoin-0.5.1-linux/bin/64/bitcoind ~/bin
$ mkdir -p ~/.bitcoin
$ mkdir -p ~/.namecoin
$ $EDITOR ~/.bitcoin/bitcoin.conf

rpcuser=USERNAME
rpcpassword=PASSWORD
rpcport=8332
port=8333
daemon=1

$ $EDITOR ~/.namecoin/bitcoin.conf

rpcuser=USERNAME
rpcpassword=PASSWORD
rpcport=8335
port=8334
daemon=1

$ bitcoind
$ namecoind
gnar1ta$
Donator
Hero Member
*
Offline Offline

Activity: 756


View Profile
January 13, 2012, 08:10:01 PM
 #369

Thank you ovidiusoft.  That is exactly what I was looking for.  I will be trying it soon. Give me an address and I'll send you some treats  Smiley

Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
Therilith
Member
**
Offline Offline

Activity: 62


100X100111XX10


View Profile
January 13, 2012, 08:49:45 PM
 #370

How do I see how many of my shares are currently "active"?
What exactly does "recent" mean?
Code:
21:44:04.984000 Pool: 72503MH/s in 17341 shares (11921) Recent:0
.42% >304MH/s Shares: 3 (0 orphan, 0 dead) Peers: 11

I mined 4 shares an hour ago, restarted the client, and mined another 3.
Based on the specifics of this pools PPLNS system, I don't think the first four should have expired yet.

Money is power. If you would like to transfer some of your power to me (making yourself weaker and me stronger), use the following address: 1PoFSpghmpsebfwZwnu5PPmmv2u9uYgJKo
forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
January 13, 2012, 09:19:11 PM
 #371

How do I see how many of my shares are currently "active"?
What exactly does "recent" mean?
Code:
21:44:04.984000 Pool: 72503MH/s in 17341 shares (11921) Recent:0
.42% >304MH/s Shares: 3 (0 orphan, 0 dead) Peers: 11

I mined 4 shares an hour ago, restarted the client, and mined another 3.
Based on the specifics of this pools PPLNS system, I don't think the first four should have expired yet.

There's no way to see the number of your shares active in the sharechain (at least currently). However, the "Payout if block" and "Recent" reflect active shares, and what Holliday said applies only to those two.

"Recent" means "your shares in the last two hours, paying to the current address." The share counter only displays shares mined the current process.

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
Therilith
Member
**
Offline Offline

Activity: 62


100X100111XX10


View Profile
January 13, 2012, 09:28:54 PM
 #372

There's no way to see the number of your shares active in the sharechain (at least currently). However, the "Payout if block" and "Recent" reflect active shares, and what Holliday said applies only to those two.

"Recent" means "your shares in the last two hours, paying to the current address." The share counter only displays shares mined the current process.
So as long as you use the same address every time you reboot, "Payout if block" will accurately show the total value of all your non-decayed shares?

Money is power. If you would like to transfer some of your power to me (making yourself weaker and me stronger), use the following address: 1PoFSpghmpsebfwZwnu5PPmmv2u9uYgJKo
Brunic
Hero Member
*****
Offline Offline

Activity: 633



View Profile
January 13, 2012, 11:14:18 PM
 #373

Hey guys,

Just dropping by to say that now that I've installed cgminer correctly on my mining rigs, I find this "pool" really interesting. Maybe some of my MHash will join you soon  Smiley
doublec
Legendary
*
Offline Offline

Activity: 1078


View Profile
January 14, 2012, 01:31:34 AM
 #374

Would it benefit both smaller traditional pools, and P2Pool, if the traditional pools mined for P2Pool?
P2Pool as a 10 second share time doesn't it? If this means a traditional pool would have to expose 10 second longpolls to its clients I don't think it'd work very well.
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
January 14, 2012, 02:03:33 AM
 #375

Would it benefit both smaller traditional pools, and P2Pool, if the traditional pools mined for P2Pool?
P2Pool as a 10 second share time doesn't it? If this means a traditional pool would have to expose 10 second longpolls to its clients I don't think it'd work very well.

It wouldn't work any worse than p2pool does.   Think of the pool server as a p2pool daemon that happens to be on another server.  The server issuing a longpoll ever 10 sec isn't much different than your local p2pool daemon issuing a long poll ever 10 seconds.
forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
January 14, 2012, 02:43:42 AM
 #376

Would it benefit both smaller traditional pools, and P2Pool, if the traditional pools mined for P2Pool?
P2Pool as a 10 second share time doesn't it? If this means a traditional pool would have to expose 10 second longpolls to its clients I don't think it'd work very well.

A new Bitcoin-P2Pool could be made for pools with a much larger share interval (2 minutes?). In fact, it would be possible to create a P2Pool-P2Pool that mines for shares on the new Bitcoin-P2Pool.

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
January 14, 2012, 02:59:13 AM
 #377

Would it benefit both smaller traditional pools, and P2Pool, if the traditional pools mined for P2Pool?
P2Pool as a 10 second share time doesn't it? If this means a traditional pool would have to expose 10 second longpolls to its clients I don't think it'd work very well.

A new Bitcoin-P2Pool could be made for pools with a much larger share interval (2 minutes?). In fact, it would be possible to create a P2Pool-P2Pool that mines for shares on the new Bitcoin-P2Pool.

Down the road that might be a good idea.  The reason is that as p2pool grows to maintain 10 sec share time will require more and more hashing power. 

At 100 GH - 10 sec = 1 TH.  So a 1 GH miner will get a share every 1000GH /1 GH/s = 1000 s = ~17 minutes

If the pool grew to 300 GH, it now takes the same 1 GH/s miner almost an hour to find one share.

At 1 TH it would take 1 GH/s miner almost 3 hours to find a share.  Remember these are average.  Share time of 300% won't be that rare and occasionally a miner will get even wider swings.

By building a higher level network  (possibly w/ longer share interval) it could be used to connect MULTIPLE p2pools, small traditional pools, and even large hashing farms.

The p2pool client would connect to the "higher" network query it and find the available p2pools.  Say p2pool A, B, C and have the new miner join the smallest.  When a p2pool gets too large it could split.  If a p2pool gets too small it could join another one.

That way you have a dynamic network of p2pools w/ upper bound of say 150GH/s per pool and a larger network consisting of the multiple pools, major hashing farms, and traditional pools.

rjk
Sr. Member
****
Offline Offline

Activity: 420


1ngldh


View Profile
January 14, 2012, 03:00:23 AM
 #378

In fact, it would be possible to create a P2Pool-P2Pool that mines for shares on the new Bitcoin-P2Pool.
Lets put a p2pool in your p2pool so you can hash while you hash. Cool

Mining Rig Extraordinaire - the Trenton BPX6806 18-slot PCIe backplane [PICS] Dead project is dead, all hail the coming of the mighty ASIC!
gnar1ta$
Donator
Hero Member
*
Offline Offline

Activity: 756


View Profile
January 14, 2012, 03:32:42 AM
 #379

Something is missing here.  bitcoind and namecoind return command not found  Huh

Code:
$ mkdir -p ~/bin
$ wget http://dot-bit.org/files/namecoin_linux64.tgz
$ tar xvzf namecoin_linux64.tgz
$ mv namecoind ~/bin
$ wget http://downloads.sourceforge.net/project/bitcoin/Bitcoin/bitcoin-0.5.1/bitcoin-0.5.1-linux.tar.gz
$ tar xvzf bitcoin-0.5.1-linux.tar.gz
$ mv bitcoin-0.5.1-linux/bin/64/bitcoind ~/bin
$ mkdir -p ~/.bitcoin
$ mkdir -p ~/.namecoin
$ $EDITOR ~/.bitcoin/bitcoin.conf

rpcuser=USERNAME
rpcpassword=PASSWORD
rpcport=8332
port=8333
daemon=1

$ $EDITOR ~/.namecoin/bitcoin.conf

rpcuser=USERNAME
rpcpassword=PASSWORD
rpcport=8335
port=8334
daemon=1

$ bitcoind
$ namecoind

Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
marcus_of_augustus
Legendary
*
Offline Offline

Activity: 2100



View Profile
January 14, 2012, 03:58:11 AM
 #380

Something is missing here.  bitcoind and namecoind return command not found  Huh

Do you have ~/bin in your PATH?

(Also check if the binaries have come across with suitable executable permissions enabled.)

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 [19] 20 21 22 23 24 25 26 27 28 29 »
  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!