Bitcoin Forum
December 10, 2016, 03:09:56 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 [726] 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2034302 times)
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
April 19, 2016, 07:53:08 AM
 #14501

Priceless...

Somehow, we got way off-topic.
Not really. The point is p2pool was written in python when mining was just about building a simple shelf where it suited the job perfectly with the minimum amount of effort. Unfortunately these days building a simple shelf doesn't cut it.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481339396
Hero Member
*
Offline Offline

Posts: 1481339396

View Profile Personal Message (Offline)

Ignore
1481339396
Reply with quote  #2

1481339396
Report to moderator
1481339396
Hero Member
*
Offline Offline

Posts: 1481339396

View Profile Personal Message (Offline)

Ignore
1481339396
Reply with quote  #2

1481339396
Report to moderator
1481339396
Hero Member
*
Offline Offline

Posts: 1481339396

View Profile Personal Message (Offline)

Ignore
1481339396
Reply with quote  #2

1481339396
Report to moderator
Carlton Banks
Legendary
*
Offline Offline

Activity: 1470



View Profile
April 19, 2016, 08:38:49 AM
 #14502

This never gets tired, even if it does misspell assembly

Extra lols at Haskell, functional programming is terrifying to contemplate (to non-professionals like me anyway). Bear in mind that they probably did know how to spell "assembly", it was more likely their typing that let them down.

 @in2tactics: it's actually easier just to say "I got it wrong". Neither you or I are infallible, it's all about the way you recover from your mistakes; gracefully, or haughtily. I get things wrong too. But I stop digging, immediately.

Vires in numeris
windpath
Legendary
*
Offline Offline

Activity: 938


View Profile WWW
April 19, 2016, 01:48:23 PM
 #14503

This never gets tired, even if it does misspell assembly http://i.imgur.com/GHxmrsR.jpg

This is classic! Smiley

in2tactics
Sr. Member
****
Offline Offline

Activity: 336



View Profile
April 19, 2016, 02:46:51 PM
 #14504

Priceless...

Somehow, we got way off-topic.

Not really. The point is p2pool was written in python when mining was just about building a simple shelf where it suited the job perfectly with the minimum amount of effort. Unfortunately these days building a simple shelf doesn't cut it.

Point taken.

Active... 2x AntMiner S7-LN, 4x AntMiner S3, and 5x AntMiner U1
Collecting Dust... 2x ASICMiner Block Erupter Cube, 4x AntMiner S1, GAW Black Widow, and ZeusMiner Thunder X6
Needing RMA (but too lazy)... 2x R9 280x and 2x R7 270x // Coin Interests... BTC, LTC, DOGE
squidicuz
Jr. Member
*
Offline Offline

Activity: 50


View Profile
April 20, 2016, 07:41:31 AM
 #14505

...anyway...



When P2Pool learns that there's a new block, it mines empty blocks until bitcoind gives it a block template.

The alternative to doing this would be to mine orphaned blocks rather than empty ones. :/

Check the times of the blocks:
Code:
2016-04-15 02:57:19.832312 UpdateTip: new best=0000000000000000052e336f67c1b0d339d5e7423595c60f169cd17bd24e5306  height=407354  log2_work=84.48832
  tx=122495865  date=2016-04-15 02:57:07 progress=1.000000  cache=4.7MiB(5564tx)
2016-04-15 03:21:13.214595 UpdateTip: new best=000000000000000003828fbc61ad281aa2e298ed4a299abf36209a4725d51930  height=407355  log2_work=84.48836
1  tx=122495866  date=2016-04-15 03:20:49 progress=1.000000  cache=51.3MiB(16114tx)
Doesn't look like it was immediately after a new block...

No. So, Why was that block empty?  I checked the node that block was mined on and it should have been completely full.  What gives???

Code:
2016-04-14 23:21:00.883567 New work for worker! Difficulty: 5346.855749 Share difficulty: 9605175.641964 Total block value: 25.358216 BTC including 1748 transactions
2016-04-14 23:21:12.763410 GOT BLOCK FROM MINER! Passing to bitcoind! https://blockchain.info/block/000000000000000003828fbc61ad281aa2e298ed4a299abf36209a4725d51930
2016-04-14 23:21:12.782751 GOT SHARE! 1DwXFhwiBGdsiqBxCYopMNkqZmZZUegnd8 25d51930 prev f4281eee age 11.90s
2016-04-14 23:21:13.353501 Skipping from block 52e336f67c1b0d339d5e7423595c60f169cd17bd24e5306 to block 3828fbc61ad281aa2e298ed4a299abf36209a4725d51930!
2016-04-14 23:21:13.403123 > Block submittal result: False (u'duplicate') Expected: True

What do I have misconfigured? ._.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
April 20, 2016, 07:54:07 AM
 #14506

No. So, Why was that block empty?  I checked the node that block was mined on and it should have been completely full.  What gives???

Code:
2016-04-14 23:21:00.883567 New work for worker! Difficulty: 5346.855749 Share difficulty: 9605175.641964 Total block value: 25.358216 BTC including 1748 transactions
2016-04-14 23:21:12.763410 GOT BLOCK FROM MINER! Passing to bitcoind! https://blockchain.info/block/000000000000000003828fbc61ad281aa2e298ed4a299abf36209a4725d51930
2016-04-14 23:21:12.782751 GOT SHARE! 1DwXFhwiBGdsiqBxCYopMNkqZmZZUegnd8 25d51930 prev f4281eee age 11.90s
2016-04-14 23:21:13.353501 Skipping from block 52e336f67c1b0d339d5e7423595c60f169cd17bd24e5306 to block 3828fbc61ad281aa2e298ed4a299abf36209a4725d51930!
2016-04-14 23:21:13.403123 > Block submittal result: False (u'duplicate') Expected: True

What do I have misconfigured? ._.
What's in your bitcoin.conf ?

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
squidicuz
Jr. Member
*
Offline Offline

Activity: 50


View Profile
April 20, 2016, 08:16:49 AM
 #14507

What's in your bitcoin.conf ?

Code:
minrelaytxfee=0.0001500
blockmaxsize=919899
blockprioritysize=44308
limitfreerelay=6

I have found valid, tx containing blocks in the past..



Additionally, logs from bitcoind.  The time shows in UTC here, would that matter?

Code:
2016-04-15 03:20:49 CreateNewBlock(): total size 919823 txs: 1748 fees: 35821561 sigops 3928
2016-04-15 03:21:04 CreateNewBlock(): total size 919890 txs: 1742 fees: 36105460 sigops 3945
2016-04-15 03:21:13 UpdateTip: new best=000000000000000003828fbc61ad281aa2e298ed4a299abf36209a4725d51930  height=407355  log2_work=84.488361  tx=122495866  date=2016-04-15 03:20:49 progress=1.000000  cache=287.3MiB(138792tx)
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
April 20, 2016, 08:44:28 AM
 #14508

What's in your bitcoin.conf ?

Code:
minrelaytxfee=0.0001500
blockmaxsize=919899
blockprioritysize=44308
limitfreerelay=6

I have found valid, tx containing blocks in the past..



Additionally, logs from bitcoind.  The time shows in UTC here, would that matter?

Code:
2016-04-15 03:20:49 CreateNewBlock(): total size 919823 txs: 1748 fees: 35821561 sigops 3928
2016-04-15 03:21:04 CreateNewBlock(): total size 919890 txs: 1742 fees: 36105460 sigops 3945
2016-04-15 03:21:13 UpdateTip: new best=000000000000000003828fbc61ad281aa2e298ed4a299abf36209a4725d51930  height=407355  log2_work=84.488361  tx=122495866  date=2016-04-15 03:20:49 progress=1.000000  cache=287.3MiB(138792tx)
You are sure it's your miner that found the block (I'm not familiar with if that message says you found the block or someone else did)?
There's something screwy going on because your bitcoind is offering transaction based work just before you found the block of 910k Perhaps for whatever reason your p2pool client kept building empty block work indefinitely after the previous block through some bug. Is your p2pool code modified in any way?

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
squidicuz
Jr. Member
*
Offline Offline

Activity: 50


View Profile
April 20, 2016, 09:00:37 AM
 #14509


You are sure it's your miner that found the block (I'm not familiar with if that message says you found the block or someone else did)?
There's something screwy going on because your bitcoind is offering transaction based work just before you found the block of 910k Perhaps for whatever reason your p2pool client kept building empty block work indefinitely after the previous block through some bug. Is your p2pool code modified in any way?

Yup. Positive it was it. I have logs from miner as well.  The p2pool node is not modified other than the front-end. The miner is an S7, and I have found valid blocks with tx in the block before.  I was running bitcoin core 0.12 at the time.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
April 20, 2016, 09:03:06 AM
 #14510


You are sure it's your miner that found the block (I'm not familiar with if that message says you found the block or someone else did)?
There's something screwy going on because your bitcoind is offering transaction based work just before you found the block of 910k Perhaps for whatever reason your p2pool client kept building empty block work indefinitely after the previous block through some bug. Is your p2pool code modified in any way?

Yup. Positive it was it. I have logs from miner as well.  The p2pool node is not modified other than the front-end. The miner is an S7, and I have found valid blocks with tx in the block before.  I was running bitcoin core 0.12 at the time.
Then I'd have to say there was a lingering bug of some sort because somewhere in the 20 minutes it must have gotten the work info from bitcoind since bitcoind is saying it's generating GBT with the CreateNewBlock message. Check if you have the p2pool logs prior to that block find for some kind of unhappiness there.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
squidicuz
Jr. Member
*
Offline Offline

Activity: 50


View Profile
April 20, 2016, 09:28:26 AM
 #14511

Then I'd have to say there was a lingering bug of some sort because somewhere in the 20 minutes it must have gotten the work info from bitcoind since bitcoind is saying it's generating GBT with the CreateNewBlock message. Check if you have the p2pool logs prior to that block find for some kind of unhappiness there.
Indeed.  There is something wrong here, but I don't have much feedback other than empty block and logs that show processing work.  Then the logs look normal except for
Code:
2016-04-14 23:21:13.403123 > Block submittal result: False (u'duplicate') Expected: True

It may be some sort of bug.
windpath
Legendary
*
Offline Offline

Activity: 938


View Profile WWW
April 20, 2016, 02:40:18 PM
 #14512

Then I'd have to say there was a lingering bug of some sort because somewhere in the 20 minutes it must have gotten the work info from bitcoind since bitcoind is saying it's generating GBT with the CreateNewBlock message. Check if you have the p2pool logs prior to that block find for some kind of unhappiness there.
Indeed.  There is something wrong here, but I don't have much feedback other than empty block and logs that show processing work.  Then the logs look normal except for
Code:
2016-04-14 23:21:13.403123 > Block submittal result: False (u'duplicate') Expected: True

It may be some sort of bug.

An easy check to see if transactions are being included in the default front end is to have a look at "Current Block Value", if it's 25BTC then no tx's are being included, if it's higher then they are....

http://minefast.coincadence.com:9332/static/

squidicuz
Jr. Member
*
Offline Offline

Activity: 50


View Profile
April 20, 2016, 03:42:59 PM
 #14513

An easy check to see if transactions are being included in the default front end is to have a look at "Current Block Value", if it's 25BTC then no tx's are being included, if it's higher then they are....

http://minefast.coincadence.com:9332/static/

Yup... Just grabbed this from the node:
Code:
Current block value: 25.29108692 BTC  

I am not sure what caused this.  Everything I check that could be of issue, seems okay.
forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
April 20, 2016, 05:11:17 PM
 #14514

Hey squidicuz, I started an issue to track this problem: https://github.com/p2pool/p2pool/issues/305

Can you upload a more complete section of your P2Pool log file? Ideally an hour behind and forward or so?

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
squidicuz
Jr. Member
*
Offline Offline

Activity: 50


View Profile
April 20, 2016, 10:29:26 PM
 #14515

Awesome, thanks!

However; My node has since overwritten that section of the log file.  Is there another place older log data would be stored? :\

I will post the section that I have on the issue.
donatebitcointome
Newbie
*
Offline Offline

Activity: 23


View Profile
April 21, 2016, 05:55:04 AM
 #14516

@forrestv:

Just some suggestion to let the p2pool node operator put prefix for the relay by message if it is achievable. Cheesy
maybe configurable with -btcsig parameter.

-btcsig ABC, and it will come out "ABC P2Pool" in the blockchain.info relay by messge if that node found the block.
if the node doesn't configure anything then it will come out default just "P2Pool"

Donate Me: 1B2HVgcrQrpingovhKa1LKtUySJyoEZ2rT
jonnybravo0311
Legendary
*
Offline Offline

Activity: 1008


Mine at Jonny's Pool


View Profile WWW
April 21, 2016, 01:42:38 PM
 #14517

The "relayed by" on blockchain.info is driven by a JSON file, so that file would have to be updated with every p2pool operator's IP address.  Probably not feasible.

However, the coinbase signature could be modified.  That would identify the p2pool node if forrestv implemented it like you suggested.  Base sig would be "p2pool".  If a node operator started p2pool with your proposed -btcsig parameter, then the signature would be "xxxxxx p2pool".

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
donatebitcointome
Newbie
*
Offline Offline

Activity: 23


View Profile
April 21, 2016, 03:53:29 PM
 #14518

The "relayed by" on blockchain.info is driven by a JSON file, so that file would have to be updated with every p2pool operator's IP address.  Probably not feasible.

However, the coinbase signature could be modified.  That would identify the p2pool node if forrestv implemented it like you suggested.  Base sig would be "p2pool".  If a node operator started p2pool with your proposed -btcsig parameter, then the signature would be "xxxxxx p2pool".

where does this coinbase signature appear at? If its not on relay by msg ?
I did click the block number to see the information inside on blockchain.info website. There's nothing in there mention coinbase signature.

Thanks.

Donate Me: 1B2HVgcrQrpingovhKa1LKtUySJyoEZ2rT
xyzzy099
Legendary
*
Offline Offline

Activity: 941



View Profile
April 21, 2016, 04:18:37 PM
 #14519

The "relayed by" on blockchain.info is driven by a JSON file, so that file would have to be updated with every p2pool operator's IP address.  Probably not feasible.

However, the coinbase signature could be modified.  That would identify the p2pool node if forrestv implemented it like you suggested.  Base sig would be "p2pool".  If a node operator started p2pool with your proposed -btcsig parameter, then the signature would be "xxxxxx p2pool".

where does this coinbase signature appear at? If its not on relay by msg ?
I did click the block number to see the information inside on blockchain.info website. There's nothing in there mention coinbase signature.

Thanks.

If you click on the coinbase transaction inside a block on blockchain.info, then click on "show scripts and coinbase", then you can see the actual coinbase signature, if there is one.  A lot of times blockchain.info will just show an IP address as 'relayed by', but you can see who mined it if they inserted a signature.  Not all signatures will show up in the "relayed by" field unless they are in the JSON file johnnybravo mentioned.


Libertarians:  Diligently plotting to take over the world and leave you alone.
nicklello
Member
**
Offline Offline

Activity: 119


View Profile
April 26, 2016, 10:29:50 AM
 #14520


Thinking about how to attract more miners to P2Pool

The miners we need to attract are probably the type of person who doesn't want to mess around setting up software ; they probably also don't want the hassle of setting up full bitcoin node; it needs to be as simple as configuring an AntMiner (ie: pointing it at a pool)

SO...

  • how do we make setting up/using p2pool super simple ?
  • Is there value in maintaining a downloading VM image/archive containing the latest Bitcoin, P2Pool and up-to-date blockchain ?
  • Can p2pool operate using a remote bitcoin node, and what are the downsides of doing this ?
  • What RPC calls does p2pool need to make in order to operate ?
  • IS IT POSSIBLE to run p2pool on a miner controller ?
  • Is there any worth in converting (parts of/all of) the code to a compiled format (ie: so it can be distributed as a packaged executable to run as a service) ?

If we *dont* try and promote p2pool and encourage more miners to join p2p will simply fade away.....

Regards,
Nick
Pages: « 1 ... 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 [726] 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 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!