Bitcoin Forum
April 24, 2024, 11:16:22 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 775 776 777 ... 814 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2591624 times)
in2tactics
Hero Member
*****
Offline Offline

Activity: 578
Merit: 501



View Profile
May 09, 2016, 09:39:56 PM
 #14521

I recompiled bitcoind with the --disable-wallet option on my node. I know p2pool definitely requires the -a or --address command when running with no wallet and is a good practice to use generally, but does it need any other options to run without a wallet?

What exactly do the -i or --numaddresses and the -t or --timeaddresses options do?

They are for dynamic addresses using bitcoin wallet and not required when you use -a or -address

numaddresses is the size of the new adress pool maintained, default 2
timeaddresses is how long to use an address before geting a new one, default is 2 days

I thought as much. The documentation for the -a or --address option stated "generate payouts to this address (default: <address requested from bitcoind>), or (dynamic)" and it was not clear to me that the -i or --numaddresses and the -t or --timeaddresses options were directly tied to the -a or --address option when operating under the default behavior. Thank you for the clarification/confirmation.

Are there any advantages, speed or otherwise, to using or not using a wallet with bitcoind for p2pool?

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
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714000582
Hero Member
*
Offline Offline

Posts: 1714000582

View Profile Personal Message (Offline)

Ignore
1714000582
Reply with quote  #2

1714000582
Report to moderator
1714000582
Hero Member
*
Offline Offline

Posts: 1714000582

View Profile Personal Message (Offline)

Ignore
1714000582
Reply with quote  #2

1714000582
Report to moderator
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1798


Linux since 1997 RedHat 4


View Profile
May 09, 2016, 10:41:15 PM
Last edit: May 09, 2016, 10:51:19 PM by kano
 #14522

Completely separating the wallet from mining means a few things:
1) The wallet actions don't affect your mining
2) The wallet code in bitcoind can be disabled and thus improve bitcoind performance
3) The contents of your wallet are not accessible from anything that can access your mining
4) Your wallet can be anywhere, separate machine, cold wallet, paper wallet, whatever

In general, keeping a wallet separate from mining is a very good security precaution.
Hiding the mining bitcoind is counter productive to having it distribute blocks quickly,
but limiting all access to a wallet is a good thing Smiley

P.S. never have a wallet bitcoind online in anything that you don't 100% control.
Slush's lesson is a good lesson to learn regarding that ... a few years ago 10's of 1000's of BTC in his pool wallets on linode were taken by someone with access in linode through the back door that they purposely had in their system ... ... ...

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
May 10, 2016, 12:56:18 AM
 #14523

Completely separating the wallet from mining means a few things:
1) The wallet actions don't affect your mining
2) The wallet code in bitcoind can be disabled and thus improve bitcoind performance
3) The contents of your wallet are not accessible from anything that can access your mining
4) Your wallet can be anywhere, separate machine, cold wallet, paper wallet, whatever

Got it!

In general, keeping a wallet separate from mining is a very good security precaution.
Hiding the mining bitcoind is counter productive to having it distribute blocks quickly,
but limiting all access to a wallet is a good thing Smiley

I am confused about your hiding the mining bitcoind statement. What exactly is counter productive to distributing blocks quickly?

P.S. never have a wallet bitcoind online in anything that you don't 100% control.
Slush's lesson is a good lesson to learn regarding that ... a few years ago 10's of 1000's of BTC in his pool wallets on linode were taken by someone with access in linode through the back door that they purposely had in their system ... ... ...

Slush's Pool, yeah, I remember that. I own and run my own server stacks. I trust no one.

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: 1798


Linux since 1997 RedHat 4


View Profile
May 10, 2016, 02:59:19 AM
 #14524

...
In general, keeping a wallet separate from mining is a very good security precaution.
Hiding the mining bitcoind is counter productive to having it distribute blocks quickly,
but limiting all access to a wallet is a good thing Smiley

I am confused about your hiding the mining bitcoind statement. What exactly is counter productive to distributing blocks quickly?
...
Well, to state the obvious, distributing from, and getting network blocks to, your bitcoind is of course the most important part of any mining network.
If you are working on old blocks, then you are trying to generate a block that wont be accepted.
If you find a block, you want it to get out and everyone else to work off it, not some other block.

For non-p2pool that's bitcoind connections, connection to the block-relay, and any other custom distribution you have.
For p2pool that also includes the p2pool network itself, since it's a block-relay also
(as I've said before about centralising p2pool is bad for p2pool since it reduces the effectiveness of that relay)

So, a lesser one of those 3 for p2pool mining is your bitcoind connectivity.
Of course you can say, well everyone else on p2pool distributes the blocks ... but that's the same as saying ... well maybe no one else on p2pool does either.
Thus:
Quote
Hiding the mining bitcoind is counter productive to having it distribute blocks quickly,

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
May 10, 2016, 04:46:59 AM
 #14525

...

In general, keeping a wallet separate from mining is a very good security precaution.
Hiding the mining bitcoind is counter productive to having it distribute blocks quickly,
but limiting all access to a wallet is a good thing Smiley

I am confused about your hiding the mining bitcoind statement. What exactly is counter productive to distributing blocks quickly?
...

Well, to state the obvious, distributing from, and getting network blocks to, your bitcoind is of course the most important part of any mining network.
If you are working on old blocks, then you are trying to generate a block that wont be accepted.
If you find a block, you want it to get out and everyone else to work off it, not some other block.

For non-p2pool that's bitcoind connections, connection to the block-relay, and any other custom distribution you have.
For p2pool that also includes the p2pool network itself, since it's a block-relay also
(as I've said before about centralising p2pool is bad for p2pool since it reduces the effectiveness of that relay)

So, a lesser one of those 3 for p2pool mining is your bitcoind connectivity.
Of course you can say, well everyone else on p2pool distributes the blocks ... but that's the same as saying ... well maybe no one else on p2pool does either.
Thus:

Quote
Hiding the mining bitcoind is counter productive to having it distribute blocks quickly,


Your initial phrasing was confusing because we were talking about running bitcoind without a wallet. I thought that you may have been saying, "running bitcoind without a wallet is counter productive to distributing blocks quickly." However, I now understand that you were pointing out the obvious that p2pool is hiding the mining from bitcoind and that p2pool is counter productive to distributing blocks quickly. Well, no shit! LOL That is the price individuals pay to operate their own trusted nodes on a trust-less network.

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: 1798


Linux since 1997 RedHat 4


View Profile
May 10, 2016, 06:51:32 AM
 #14526

...

In general, keeping a wallet separate from mining is a very good security precaution.
Hiding the mining bitcoind is counter productive to having it distribute blocks quickly,
but limiting all access to a wallet is a good thing Smiley

I am confused about your hiding the mining bitcoind statement. What exactly is counter productive to distributing blocks quickly?
...

Well, to state the obvious, distributing from, and getting network blocks to, your bitcoind is of course the most important part of any mining network.
If you are working on old blocks, then you are trying to generate a block that wont be accepted.
If you find a block, you want it to get out and everyone else to work off it, not some other block.

For non-p2pool that's bitcoind connections, connection to the block-relay, and any other custom distribution you have.
For p2pool that also includes the p2pool network itself, since it's a block-relay also
(as I've said before about centralising p2pool is bad for p2pool since it reduces the effectiveness of that relay)

So, a lesser one of those 3 for p2pool mining is your bitcoind connectivity.
Of course you can say, well everyone else on p2pool distributes the blocks ... but that's the same as saying ... well maybe no one else on p2pool does either.
Thus:

Quote
Hiding the mining bitcoind is counter productive to having it distribute blocks quickly,


Your initial phrasing was confusing because we were talking about running bitcoind without a wallet. I thought that you may have been saying, "running bitcoind without a wallet is counter productive to distributing blocks quickly." However, I now understand that you were pointing out the obvious that p2pool is hiding the mining from bitcoind and that p2pool is counter productive to distributing blocks quickly. Well, no shit! LOL That is the price individuals pay to operate their own trusted nodes on a trust-less network.
No Tongue

I was referring to not having the bitcoind out in the open as much as possible as "hiding the mining bitcoind"

i.e. if you had a wallet on it also, there may be consideration of not having it too easily accessible, but without a wallet, there's much less issue about having it well connected and "in the open"

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
May 10, 2016, 07:03:19 AM
Last edit: May 10, 2016, 07:25:51 AM by in2tactics
 #14527

No Tongue

I was referring to not having the bitcoind out in the open as much as possible as "hiding the mining bitcoind"

i.e. if you had a wallet on it also, there may be consideration of not having it too easily accessible, but without a wallet, there's much less issue about having it well connected and "in the open"

I was confused. My bad! Tongue

So, if the node has a 0% fee, what does the -a or --address option do?

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
Rabinovitch
Legendary
*
Offline Offline

Activity: 2030
Merit: 1076


BTCLife.global participant


View Profile
May 10, 2016, 11:48:10 AM
 #14528


Both those links leads to the pages with some strange info. http://p2pool.info/ says that last block was found more than a year ago. http://forre.st:9332/ doesn't even shows a hashrate...  Huh

Here we can se a more precise and actual stats: http://minefast.coincadence.com/p2pool-stats.php

But I like an official links...

From Siberia with love! Hosting by Rabinovitch!
Fundraising for BOINC Farm
Пpoфeccиoнaльнo зaнимaюcь paзвёpтывaниeм фepм (ASIC, GPU, BURST, STORJ, Filecoin), oбopyдoвaниeм пoмeщeний для мaйнингa.
in2tactics
Hero Member
*****
Offline Offline

Activity: 578
Merit: 501



View Profile
May 11, 2016, 06:29:27 AM
 #14529

I see the same error when running p2pool and bitcoind on the same (fairly underpowered) system, an asus eeebox with intel atom cpu. There are load spikes every now and then where bitcoind and p2pool together peg the cpu at 100% and then these errors appear. It seemed to cause more than average orphans and dead shares in my case so I now run p2pool and bitcoind on a faster system, and I've never seen the error there.

What error are you referring to?

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
yvcea
Newbie
*
Offline Offline

Activity: 54
Merit: 0


View Profile
May 17, 2016, 03:52:34 AM
 #14530

Hello,

I started to mine on P2POOL. My hardware is 5x Antminner S7. I'm posting to p2pool.science and I have few questions:

1) Why it seems to be like my earnings not always go up. I've watching them go a little down instead of slowly grow when I have slow hashing power.
2) Is the term: "payouts if a block were found now" true? I mean, never received a payment from p2pool net, but is it true? is actually the amount I earn if a block if found now?
3) I found in a webpage a term: "Expected Time to Block = 12d ...." Is it an expected time to get a block on the net?

Payouts seems to be higher than in antpool. Am I wrong?

Thank you!
squidicuz
Newbie
*
Offline Offline

Activity: 58
Merit: 0


View Profile
May 22, 2016, 06:53:34 AM
Last edit: May 22, 2016, 07:06:08 AM by squidicuz
 #14531

Hello,

I started to mine on P2POOL. My hardware is 5x Antminner S7. I'm posting to p2pool.science and I have few questions:

1) Why it seems to be like my earnings not always go up. I've watching them go a little down instead of slowly grow when I have slow hashing power.
2) Is the term: "payouts if a block were found now" true? I mean, never received a payment from p2pool net, but is it true? is actually the amount I earn if a block if found now?
3) I found in a webpage a term: "Expected Time to Block = 12d ...." Is it an expected time to get a block on the net?

Payouts seems to be higher than in antpool. Am I wrong?

Thank you!

Hi there, that is my node!  Cool

1) Payouts from the pool will vary depending on the overall hashrate of the pool.  Your expected payout will change from hour to hour, day to day, depending on the conditions of the pool and the shares you have found.
2) That payout is for the entire node; and is only if the pool finds a block and will vary depending on fees in the current block being mined and your valid shares.
3) Expected time to block for the whole pool right now is around 10+ days, so yeah.  That is just an estimate though and due to variation could be anywhere from a couple days to a couple weeks.

Just hang in there and monitor the chart for your workers, it will tell you the expected payout for your miner.  Your current mean payout is around 0.85 BTC.

If you run your own node, you may have better results (less latency issues).  If you need help in setting one up, PM me and I will assist you.

From what I noticed, some of your miners have issues at times and your DOA rate spikes.  I have the same issue with some of my S7's; they will just timeout and stop hashing and need to be rebooted, or just produce nothing but DOA work until they settle...  Everything else looks okay, and I tweaked my node [initially] to help your miners.  Smiley

The Node's efficiency remains above or around 100%. I mostly monitor that parameter, If that is around 100% all is pretty much well.

http://p2pool.science/1DHY.png
Meuh6879
Legendary
*
Offline Offline

Activity: 1512
Merit: 1011



View Profile
May 27, 2016, 06:21:06 PM
 #14532

v16 in progress (?)

donatebitcointome
Newbie
*
Offline Offline

Activity: 48
Merit: 0


View Profile
May 28, 2016, 02:45:52 AM
 #14533


maybe yes maybe not.
the developer already turn off the p2pool vps (vps.forre.st) ?
developer abandon the project ?
in2tactics
Hero Member
*****
Offline Offline

Activity: 578
Merit: 501



View Profile
May 28, 2016, 11:15:47 PM
 #14534

v16 in progress (?)



It is possible, but the last commit I see on GitHub is dated Feb 22, 2016.

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
veqtrus
Member
**
Offline Offline

Activity: 107
Merit: 10


View Profile WWW
May 29, 2016, 11:51:23 AM
 #14535

v16 in progress (?)



It is possible, but the last commit I see on GitHub is dated Feb 22, 2016.

It's my pull request.

P2Pool donation button | Bitrated user: veqtrus.
jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1006


View Profile WWW
May 30, 2016, 01:56:39 AM
 #14536

Unfortunately the issues remain the same as they've always been and the suggestions for how to get more people to use p2pool haven't changed in years but none of that is working. I don't see a revolutionary way out of this predicament unless it's totally redesigned. Alas I don't think anyone has solutions for the existing design even if they were to start from scratch again.

I do, but I haven't had time to implement it. The ten cent version is that money grows on trees, not chains: we need to switch over to a share DAG instead of a share chain. I have in mind a DAG in which every odd height contains only one share, and every even height contains a large number of sibling shares. I would still need to do some simulations and/or analysis to make sure I've got all the incentives right, but so far I think it should work. A variant of the GHOST protocol would likely work also, and would have the benefit of being better studied.

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3071



View Profile
May 31, 2016, 10:26:51 AM
 #14537

@jtoomin

it helps if you actually deliver any of your BrandNamedTechnologiesTM, or your idle musings about applications of brand new mathematics. On an actual day. Any day will do.

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

Activity: 578
Merit: 501



View Profile
May 31, 2016, 08:09:56 PM
 #14538

Unfortunately the issues remain the same as they've always been and the suggestions for how to get more people to use p2pool haven't changed in years but none of that is working. I don't see a revolutionary way out of this predicament unless it's totally redesigned. Alas I don't think anyone has solutions for the existing design even if they were to start from scratch again.

I do, but I haven't had time to implement it. The ten cent version is that money grows on trees, not chains: we need to switch over to a share DAG instead of a share chain. I have in mind a DAG in which every odd height contains only one share, and every even height contains a large number of sibling shares. I would still need to do some simulations and/or analysis to make sure I've got all the incentives right, but so far I think it should work. A variant of the GHOST protocol would likely work also, and would have the benefit of being better studied.

If by DAG you mean Directed Acyclic Graph, I fail to see how that solves the problem much less even addresses the problem -ck was referring to.

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
jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1006


View Profile WWW
June 01, 2016, 01:04:16 AM
Last edit: June 01, 2016, 02:05:19 AM by jtoomim
 #14539

If by DAG you mean Directed Acyclic Graph, I fail to see how that solves the problem much less even addresses the problem -ck was referring to.

The problems with p2pool performance are that (a) miners have to switch work frequently, which causes switching losses (which are particularly bad for Antminers, due to bad firmware, but are also problematic for high-latency connections, or for p2pool nodes with slow CPUs), and (b) the amount of variance a small miner experiences is inversely proportional to the time in between each share. If you have each miner switch work once per share, these two issues are in opposition to each other, and you have to pick a share frequency that balances these two issues.

However, there is no need to have miners switch work once per share. Bitcoin's blocks and transactions need to be serialized in a canonical ordering in order to prevent double-spending or transaction conflicts, but with p2pool there's no equivalent need for each share to come one after another. All that a share needs to do is prove that work was done in a way that benefits other p2pool users, which means (a) accurately pays out to other p2pool users and (b) is working on the correct block height at any given time.

So instead of arranging the shares as a chain of single-parent single-child links, we can come up with more imaginative arrangements. My favorite is where the first share for a new block (the switcher) gets a revenue bonus, and that switcher refers to not one parent share but as many parent shares as you know of, and the size of the switcher's bonus is proportional to the number of parents it has. Once one or more switchers have been found, the other shares (the fillers) refer to a single switcher as the parent. If there are multiple competing switchers to build off of, then the miners will want to choose the switcher that has the most fillers already laid on top of it, as those fillers will give the next switcher the greatest revenue bonus on the next block. Thus, consensus quickly emerges around one switcher, and everyone goes happily on their way. Miners only have to switch work twice per block, and you can get a 1 second (or faster) share time instead of the 30 seconds we tolerate now.

Since the miners don't have to switch work as often, the pool software doesn't have to do as much work (and only needs to recompute rewards twice per block), which means that python's performance issues will become less important.

The GHOST idea is basically that you reward uncles fractionally in the share chain. This should also work, but you'd have to tweak it a bit versus e.g. ethereum's version of GHOST if you wanted to allow for a significantly lower work switching rate than share rate, and it would probably be difficult to get it to perform as well as the odd/even heigh scheme described above.

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1006


View Profile WWW
June 01, 2016, 01:19:35 AM
Last edit: June 01, 2016, 01:47:11 AM by jtoomim
 #14540

it helps if you actually deliver.... On an actual day. Any day will do.

Any day, huh? How does 3650 days from now sound to you? /s

Unfortunately, taking care of my mine is more than a full time job, and it doesn't allow me much time to volunteer for large projects like rewriting p2pool or finishing blocktorrent. (Between the two, blocktorrent is a much higher priority.) Often, the best I can do is jot down ideas and hope that someone else finds them interesting enough to implement.

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
Pages: « 1 ... 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 775 776 777 ... 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!