Bitcoin Forum
April 27, 2024, 05:50:07 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 674 675 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 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 ... 814 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2591625 times)
in2tactics
Hero Member
*****
Offline Offline

Activity: 578
Merit: 501



View Profile
April 15, 2016, 03:49:49 AM
 #14461

Whoops!

Current HW: 2x Apollo
Retired HW: 3x 2PAC, 3x Moonlander 2, 2x AntMiner S7-LN, 5x AntMiner U1, 2x ASICMiner Block Erupter Cube, 4x AntMiner S3, 4x AntMiner S1, GAW Black Widow, and ZeusMiner Thunder X6
1714197007
Hero Member
*
Offline Offline

Posts: 1714197007

View Profile Personal Message (Offline)

Ignore
1714197007
Reply with quote  #2

1714197007
Report to moderator
1714197007
Hero Member
*
Offline Offline

Posts: 1714197007

View Profile Personal Message (Offline)

Ignore
1714197007
Reply with quote  #2

1714197007
Report to moderator
1714197007
Hero Member
*
Offline Offline

Posts: 1714197007

View Profile Personal Message (Offline)

Ignore
1714197007
Reply with quote  #2

1714197007
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, but full nodes are more resource-heavy, and they must do a lengthy initial syncing process. As a result, lightweight clients with somewhat less security are commonly used.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714197007
Hero Member
*
Offline Offline

Posts: 1714197007

View Profile Personal Message (Offline)

Ignore
1714197007
Reply with quote  #2

1714197007
Report to moderator
in2tactics
Hero Member
*****
Offline Offline

Activity: 578
Merit: 501



View Profile
April 15, 2016, 03:50:50 AM
 #14462

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...

So, what do you think happened?

Current HW: 2x Apollo
Retired HW: 3x 2PAC, 3x Moonlander 2, 2x AntMiner S7-LN, 5x AntMiner U1, 2x ASICMiner Block Erupter Cube, 4x AntMiner S3, 4x AntMiner S1, GAW Black Widow, and ZeusMiner Thunder X6
-ck
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
April 15, 2016, 03:52:49 AM
 #14463

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...

So, what do you think happened?
Someone configured their coin daemon that feeds their p2pool instance to do so.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
donatebitcointome
Newbie
*
Offline Offline

Activity: 48
Merit: 0


View Profile
April 15, 2016, 04:02:54 AM
 #14464


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...

ok sorry if I judge it wrongly lol.. I thought that if a block contain no transaction, it called empty block.

If its not immediately after a new block, it's not empty block? I'm really confuse lol. anyone kind enough to explain it to me Cheesy
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1800


Linux since 1997 RedHat 4


View Profile
April 15, 2016, 04:03:59 AM
 #14465


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. :/
Blame bad coding not bitcoin.

Do it right like we do on ckpool and never mine empty blocks ...

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
-ck
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
April 15, 2016, 04:06:56 AM
 #14466

ok sorry if I judge it wrongly lol.. I thought that if a block contain no transaction, it called empty block.

If its not immediately after a new block, it's not empty block? I'm really confuse lol. anyone kind enough to explain it to me Cheesy
No you got it right the first time. The rest of the discussion was trying to ascertain why it was an empty block.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
windpath
Legendary
*
Offline Offline

Activity: 1258
Merit: 1027


View Profile WWW
April 17, 2016, 12:56:52 AM
 #14467


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. :/
Blame bad coding not bitcoin.

Do it right like we do on ckpool and never mine empty blocks ...

Jeze Kano, if it bothers you so much why don't you contribute to the open source code base of the only decentralized pool rather then promoting your own centralized solution in our thread AGAIN...

Better yet, why not grow a real sack and attack the real problem pools mining empty blocks like antpool?

What's your hate on p2pool all about anyway? Or is it just your not so subtle form of gurrilla marketing?
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1800


Linux since 1997 RedHat 4


View Profile
April 17, 2016, 03:44:32 AM
 #14468


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. :/
Blame bad coding not bitcoin.

Do it right like we do on ckpool and never mine empty blocks ...

Jeze Kano, if it bothers you so much why don't you contribute to the open source code base of the only decentralized pool rather then promoting your own centralized solution in our thread AGAIN...

Better yet, why not grow a real sack and attack the real problem pools mining empty blocks like antpool?

What's your hate on p2pool all about anyway? Or is it just your not so subtle form of gurrilla marketing?
You don't like the truth? ... oh well.

P2pool is written in a language that I can only describe as trash.
Not interested in going near it at all.

It's design is also flawed.

Lulz - you don't like that I'm part of the team that provides the free opensource software that more miners on the bitcoin network use than any other software, or that the ckpool software that -ck and I write is fully free opensource also?
Oh well, go bitch to someone who cares.

Or is it that you don't like that fact that we have NEVER mined an empty block? ... unlike p2pool.

forrestv has above stated that his software mines empty blocks on purpose.

Yes I run a centralised mining pool ... that doesn't mine empty blocks ... unlike p2pool.

Meanwhile people like you try to centralise p2pool by creating nodes that you get people to mine to, rather than getting people to mine to their own decentralised nodes.
There's 'centralised' p2pool nodes ... which is not all that different to saying there's lots of 'centralised' mining pools out there.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
in2tactics
Hero Member
*****
Offline Offline

Activity: 578
Merit: 501



View Profile
April 17, 2016, 06:29:38 AM
 #14469

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...

So, what do you think happened?

Someone configured their coin daemon that feeds their p2pool instance to do so.

@-ck  That is a problem. I am not sure how you could enforce this at the node to node level based on how the p2pool software and the coin daemon interact.

P2pool is written in a language that I can only describe as trash.
Not interested in going near it at all.

@kano  Speaking of languages, why on earth is Bitcoin written in C++? I thought C would have been the first and better choice.

Current HW: 2x Apollo
Retired HW: 3x 2PAC, 3x Moonlander 2, 2x AntMiner S7-LN, 5x AntMiner U1, 2x ASICMiner Block Erupter Cube, 4x AntMiner S3, 4x AntMiner S1, GAW Black Widow, and ZeusMiner Thunder X6
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3071



View Profile
April 17, 2016, 10:42:52 AM
 #14470

why on earth is Bitcoin written in C++? I thought C would have been the first and better choice.

Hard lol at "better" and "worse" programming languages. Presumably all code for all devices would be "better" if it was written in machine code? Cheesy

Vires in numeris
in2tactics
Hero Member
*****
Offline Offline

Activity: 578
Merit: 501



View Profile
April 17, 2016, 11:06:24 AM
 #14471

why on earth is Bitcoin written in C++? I thought C would have been the first and better choice.

Hard lol at "better" and "worse" programming languages. Presumably all code for all devices would be "better" if it was written in machine code? Cheesy

That goes without saying. However, I would think a program as large as Bitcoin would be pretty hard to exclusively code in assembly. Add to that, the number of programmers that code in assembly is also quite small.

Current HW: 2x Apollo
Retired HW: 3x 2PAC, 3x Moonlander 2, 2x AntMiner S7-LN, 5x AntMiner U1, 2x ASICMiner Block Erupter Cube, 4x AntMiner S3, 4x AntMiner S1, GAW Black Widow, and ZeusMiner Thunder X6
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1800


Linux since 1997 RedHat 4


View Profile
April 17, 2016, 12:02:57 PM
 #14472

P2pool is written in a language that I can only describe as trash.
Not interested in going near it at all.

@kano  Speaking of languages, why on earth is Bitcoin written in C++? I thought C would have been the first and better choice.
Well there's 2 issues when programming:
1) Performance
2) Maintainability

Assembly fails badly on 2) so no one in their right mind would write anything but a tiny project using it.

C++ is for those who require a language that forces them to be object oriented (though many don't understand object orientation)
Object orientation is to simplify coding and concepts to supposedly simplify understanding and maintenance but rarely succeeds in doing that.
In of itself, object orientation isn't a bad thing, it's quite the opposite, but it also leads to slow code due to massive bloat.

C has a steep learning cure for anyone who is only familiar with simple languages and script languages.
A pointer is something that many fail to fully understand.
On the other hand, the language specification is so simple that it's not difficult to write a C compiler.
Also, since the language itself is not very far from machine code in concept, it leads to very fast compiled code.
But people can write bad and slow code in any language Tongue
Very few at all understand how to successfully performance tune code. Most projects, like Bitcoin, don't even care.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
in2tactics
Hero Member
*****
Offline Offline

Activity: 578
Merit: 501



View Profile
April 17, 2016, 01:22:12 PM
 #14473

Most projects, like Bitcoin, don't even care.

That is what I thought you were going to say.  Smiley

Current HW: 2x Apollo
Retired HW: 3x 2PAC, 3x Moonlander 2, 2x AntMiner S7-LN, 5x AntMiner U1, 2x ASICMiner Block Erupter Cube, 4x AntMiner S3, 4x AntMiner S1, GAW Black Widow, and ZeusMiner Thunder X6
lightfoot
Legendary
*
Offline Offline

Activity: 3094
Merit: 2239


I fix broken miners. And make holes in teeth :-)


View Profile
April 17, 2016, 10:16:32 PM
 #14474

Kano, you're being a bit of a jerk here: Luck is luck, and you know the numbers: Your pool has a .9% fee, therefore someone mining there will make .9% less than mining on P2pool. (edit: mining p2pool without a fee. p2pool ops can charge fees)

You are welcome to say that your pool has had a lucky streak, but please do not make the error of misleading people that just because your (or any other) pool has had a good run of luck that this means one whit of anything in terms of future performance.

Luck is luck, and the luck fairy picks blocks at random. People fall for selective bias all the time (remember the good streaks, forget the bad ones) but reality exists.
smooth
Legendary
*
Offline Offline

Activity: 2968
Merit: 1198



View Profile
April 17, 2016, 10:21:35 PM
Last edit: April 18, 2016, 05:04:26 AM by smooth
 #14475

Kano, you're being a bit of a jerk here: Luck is luck, and you know the numbers: Your pool has a .9% fee, therefore someone mining there will make .9% less than mining on P2pool. (edit: mining p2pool without a fee. p2pool ops can charge fees)

That assumes they are equally efficient. Efficiencies can sneak in on both sides so it is hard to say really.

Agree that luck is luck. IMO the luck on p2pool is marginally acceptable even at the current hash rate for people who aren't impatient cry babies, but its getting close to the point where it isn't really viable unfortunately.
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1800


Linux since 1997 RedHat 4


View Profile
April 17, 2016, 11:06:17 PM
 #14476

Kano, you're being a bit of a jerk here: Luck is luck, and you know the numbers: Your pool has a .9% fee, therefore someone mining there will make .9% less than mining on P2pool. (edit: mining p2pool without a fee. p2pool ops can charge fees)

You are welcome to say that your pool has had a lucky streak, but please do not make the error of misleading people that just because your (or any other) pool has had a good run of luck that this means one whit of anything in terms of future performance.

Luck is luck, and the luck fairy picks blocks at random. People fall for selective bias all the time (remember the good streaks, forget the bad ones) but reality exists.

I've no idea why you posted a completely unrelated comment about what I've posted.

There is no luck involved in code that produces empty blocks on purpose.
P2pool is coded to produce empty blocks on every block change.

Where exactly did I make any comment recently at all about p2pool luck?
You did, not me.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3071



View Profile
April 18, 2016, 08:21:37 AM
 #14477

why on earth is Bitcoin written in C++? I thought C would have been the first and better choice.

Hard lol at "better" and "worse" programming languages. Presumably all code for all devices would be "better" if it was written in machine code? Cheesy

That goes without saying.

No it doesn't, I was being sarcastic.

There are no "better" and "worse" programming languages in the abstract, only good choices for specific cases. And so Kano's comment about python being a "crappy" language was not correct to begin with, he just doesn't use it for his serious work because he works on software that needs something lower-level. And that he has a massive superiority/inferiority complex (although this doesn't change the fact that I love him dearly Wink)

Vires in numeris
in2tactics
Hero Member
*****
Offline Offline

Activity: 578
Merit: 501



View Profile
April 18, 2016, 10:21:28 AM
 #14478

That goes without saying.

No it doesn't, I was being sarcastic.

Your sarcasm was not lost on me; however, it does go without saying. It is well known that higher level programming languages have a tendency to add their own little nuances that when compiled to machine language can contribute to less optimal code. The effects can be negligible or they can be significant. It all depends on the programmer's mastery and understanding of the used language in order to minimize the potential effects.

There are no "better" and "worse" programming languages in the abstract, only good choices for specific cases.

I do generally agree with your statement and as kano pointed out "maintainability" is a major factor especially when dealing with larger and more complex programs. Do not confuse me with those individuals that ride the python hate train. I happen to like python personally and I use it frequently.

Current HW: 2x Apollo
Retired HW: 3x 2PAC, 3x Moonlander 2, 2x AntMiner S7-LN, 5x AntMiner U1, 2x ASICMiner Block Erupter Cube, 4x AntMiner S3, 4x AntMiner S1, GAW Black Widow, and ZeusMiner Thunder X6
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3071



View Profile
April 18, 2016, 03:33:14 PM
 #14479

So you're saying you agree with everything I say, yet you still maintain your position? Right Roll Eyes


Forget maintainability, how about the type/level of expertise that it takes to use the language competently to begin with? It takes genuine comprehension of broadly non-abstract concepts (like pointers), as well as that of abstract concepts like template functions or lambda logical operations. You could train perhaps 10 people to write good Java in the time it takes to train 1 person to write good C++.

How about the readability of the code? Fortran or Cobol are the only tools you can use for certain jobs, and they're difficult to read for a stranger to those languages.

What about development time? If you're writing software without fail-safe requirements, do you really need to spend the time/money on using a low-level language? You could end up spending 90% of that time/money looking for memory leaks.


So, come on now. You can't reconcile "some languages are better than others, absolutely" with "well, some are better suited to a given development context, others to a different context". That's what I call contradicting oneself.

Vires in numeris
in2tactics
Hero Member
*****
Offline Offline

Activity: 578
Merit: 501



View Profile
April 19, 2016, 04:38:36 AM
 #14480

So you're saying you agree with everything I say, yet you still maintain your position? Right Roll Eyes

I said, "I do generally agree with your statement" and that is definitely not the same thing as agreeing with everything you say.

Forget maintainability, how about the type/level of expertise that it takes to use the language competently to begin with? It takes genuine comprehension of broadly non-abstract concepts (like pointers), as well as that of abstract concepts like template functions or lambda logical operations. You could train perhaps 10 people to write good Java in the time it takes to train 1 person to write good C++.

How about the readability of the code? Fortran or Cobol are the only tools you can use for certain jobs, and they're difficult to read for a stranger to those languages.

What about development time? If you're writing software without fail-safe requirements, do you really need to spend the time/money on using a low-level language? You could end up spending 90% of that time/money looking for memory leaks.

So, come on now. You can't reconcile "some languages are better than others, absolutely" with "well, some are better suited to a given development context, others to a different context". That's what I call contradicting oneself.

I think you are missing the intent of my original inquiry about Bitcoin and C++. It was never intended to be an analysis of the languages used or not used, but an analysis of the individuals and their choice of a particular language over another. Additionally, I only implied ASM was better than other languages, absolutely. That statement was made in the specific context of "potential for most optimal code at run time" and I thought you would have understood that based on the sarcasm in your original reply.

Current HW: 2x Apollo
Retired HW: 3x 2PAC, 3x Moonlander 2, 2x AntMiner S7-LN, 5x AntMiner U1, 2x ASICMiner Block Erupter Cube, 4x AntMiner S3, 4x AntMiner S1, GAW Black Widow, and ZeusMiner Thunder X6
Pages: « 1 ... 674 675 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 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 ... 814 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!