• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

Developement work for p2pool and NOMP Stratum patch

To p2pool... or not to p2pool. That is the question. A stupid one of course, nevertheless, a question. Without a question mark, which makes is more a paradox rather than a question? What about rhetoric? What about a questionable rhetoric?

Please ignore me, I was just editing out misinformation.
 
Title says it all. Are there any groups of people who can work together to create a patch for both these pools?

Edit: Current Bounty Amount
250 dark from Evan and Kyle for P2pool
250 dark from Evan and Kyle for NOMP
50 dark from Vertoe for P2pool
100 usd from Vertoe for P2pool
5 dark from ayruel for General Bounty
1 dark from yidakee for General Bounty

Total Bounty as of now. 303 dark and 100 usd for p2pool. USD Equivalent of $602.00

Missed the 200 dark addition - https://bitcointalk.org/index.php?topic=421615.msg6603909#msg6603909
 
I think I'm very close to getting p2pool to work. Unfortunately the testnet is broken again.
Please contact me on IRC or send me a PM here at the forums. I can help you with p2pool fix testing and testnet nodes.
 
I think I'm very close to getting p2pool to work. Unfortunately the testnet is broken again.
Is there anything I can do to help? I'm not much of a coder, but I could put up a p2pool and a few miners for testnet if you need to try things out...
 
P2Pool is ready for testing.

Masternode support and various fixes has been added. It is based on the latest p2pool code and includes full commit history. More changes are coming soon.

It won't work on mainnet before the May 25 hardfork.

Testnet pool: http://92.222.7.210:18998
Sourcecode: https://bitbucket.org/dstorm/p2pool-drk

I'm on IRC if you need any help.

Donation addresses:
DRK - XygrQjVajAjoCMe3GFsMCWGG35y64k1HJ4
BTC - 1fwXR6EaCYB2yboKG63ZdudqKFghQCegC
 
So to update our current pool on May 25, should we do a pull from your repository? I'm not terribly familiar with the git mechanism... Also, will this need to be recompiled, or will the python modules drop in without too much fuss?

BTW, dstorm you rock, dude. Thanks so much for fixing this!
 
Last edited by a moderator:
So to update our current pool on May 25, should we do a pull from your repository? I'm not terribly familiar with the git mechanism... Also, will this need to be recompiled, or will the python modules drop in without too much fuss?

BTW, dstorm you rock, dude. Thanks so much for fixing this!

Yes you need to do a git clone https://bitbucket.org/dstorm/p2pool-drk.

Port numbers has changed to 8998 and 8999. 18998 and 18999 for testnet.

xcoin_hash module is the same but I have made a new darkcoin_subsidy. It has fewer dependencies and a new getblockvalue method for the testnet. I think you can continue to use the old module, just change the method name in networks.py

Only the classic frontend is included in my repo but extra API stats will be added today and the block number bug has been fixed, so you should be able to use any alternative frontend without patching.

I will probably also add automatic difficulty adjustment by address/worker hashrate.
 
Confirming P2Pool works on testnet!

This is what I got, the first one is masternode payout and the second one is p2pool mining reward.
Code:
    {
        "account" : "0",
        "address" : "n1eGts3Lmz7dBjKd8dSUoNDTgnz3FecWUs",
        "category" : "immature",
        "amount" : 15.30000000,
        "confirmations" : 1,
        "generated" : true,
        "blockhash" : "00000003684123eef69643268c4e2841871d218822f79eee9e47a9e294e75f72",
        "blockindex" : 0,
        "blocktime" : 1400780029,
        "txid" : "ef6ac8a5a1dd1ab50770fbabd6f7ebbd8ddcd5bc8bd5183f636309968a34d938",
        "time" : 1400780029,
        "timereceived" : 1400780062
    },
    {
        "account" : "",
        "address" : "mjEx5FX9oNc5EAxLP6yrNjwiymQqfP6UK8",
        "category" : "immature",
        "amount" : 19.34406178,
        "confirmations" : 1,
        "generated" : true,
        "blockhash" : "00000003684123eef69643268c4e2841871d218822f79eee9e47a9e294e75f72",
        "blockindex" : 0,
        "blocktime" : 1400780029,
        "txid" : "ef6ac8a5a1dd1ab50770fbabd6f7ebbd8ddcd5bc8bd5183f636309968a34d938",
        "time" : 1400780029,
        "timereceived" : 1400780062
    }
Link to this transaction: http://23.23.186.131:1234/tx/ef6ac8a5a1dd1ab50770fbabd6f7ebbd8ddcd5bc8bd5183f636309968a34d938
 
I always have to wait half a minute to get work for a new block, why is that?

Code:
[19:38:19] Found block for Pool 0!
[19:38:19] Pool 0 difficulty changed to 0.001
[19:38:19] Stratum from Pool 0 requested work restart
[19:38:19] Accepted 09abeb59 Diff 0.103/0.001 BLOCK! GPU 0
[19:38:19] Stratum connection to Pool 0 interrupted
[19:38:20] Pool 0 not responding!

(10 seconds break)

[19:38:30] Waiting for work to be available from pools.

(21 seconds break)

[19:38:51] Pool 0 difficulty changed to 0.001
[19:38:51] Network diff set to 0
[19:38:51] Stratum from Pool 0 detected new block
[19:38:51] Stratum from Pool 0 requested work restart
[19:38:54] Work available from pools, resuming.
[19:38:55] Accepted 044a289e Diff 0.001/0.001 GPU 0
 
Back
Top