Bitcoin Forum
December 15, 2018, 05:35:39 PM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Pages: « 1 ... 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 [632] 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 ... 815 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2566838 times)
windpath
Legendary
*
Offline Offline

Activity: 1236
Merit: 1001


View Profile WWW
May 18, 2015, 08:01:19 PM
 #12621

It's a BS statement by AntPool.  They have NO p2pool. 

Truth.
1544895339
Hero Member
*
Offline Offline

Posts: 1544895339

View Profile Personal Message (Offline)

Ignore
1544895339
Reply with quote  #2

1544895339
Report to moderator
1544895339
Hero Member
*
Offline Offline

Posts: 1544895339

View Profile Personal Message (Offline)

Ignore
1544895339
Reply with quote  #2

1544895339
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1544895339
Hero Member
*
Offline Offline

Posts: 1544895339

View Profile Personal Message (Offline)

Ignore
1544895339
Reply with quote  #2

1544895339
Report to moderator
1544895339
Hero Member
*
Offline Offline

Posts: 1544895339

View Profile Personal Message (Offline)

Ignore
1544895339
Reply with quote  #2

1544895339
Report to moderator
1544895339
Hero Member
*
Offline Offline

Posts: 1544895339

View Profile Personal Message (Offline)

Ignore
1544895339
Reply with quote  #2

1544895339
Report to moderator
yslyung
Legendary
*
Offline Offline

Activity: 1491
Merit: 1000


Mine Mine Mine


View Profile
May 18, 2015, 08:52:07 PM
 #12622

a block makes me happy n not b!tch abt BMT's p2p BS story.

c'mon blox come come come to the REAL p2p
yslyung
Legendary
*
Offline Offline

Activity: 1491
Merit: 1000


Mine Mine Mine


View Profile
May 19, 2015, 07:45:27 AM
 #12623

another block = happy yippie yippie

btw, i found the line to show the previous blocks mined. it goes like 24*60*60.

what should i put in to show the entire week ? i used to have it but i forgot.

i'm at 168*60*60 & it shows last 4 days.

thx.
kano
Legendary
*
Offline Offline

Activity: 2660
Merit: 1059


Linux since 1997 RedHat 4


View Profile
May 19, 2015, 09:01:22 AM
 #12624

another block = happy yippie yippie

btw, i found the line to show the previous blocks mined. it goes like 24*60*60.

what should i put in to show the entire week ? i used to have it but i forgot.

i'm at 168*60*60 & it shows last 4 days.

thx.
p2pool doesn't keep history forever - that could be why it stops at 4 days for whatever you are doing.

Pool: https://kano.is Here on Bitcointalk: Forum BTC: 1KanoPb8cKYqNrswjaA8cRDk4FAS9eDMLU
FreeNode IRC: irc.freenode.net channel #kano.is Majority developer of the ckpool code
Help keep Bitcoin secure by mining on pools with full block verification on all blocks - and NO empty blocks!
jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1015


Mine at Jonny's Pool


View Profile WWW
May 19, 2015, 01:12:36 PM
 #12625

another block = happy yippie yippie

btw, i found the line to show the previous blocks mined. it goes like 24*60*60.

what should i put in to show the entire week ? i used to have it but i forgot.

i'm at 168*60*60 & it shows last 4 days.

thx.
If you look at that entire bit of code, you'll see why it's only showing a limited timeframe:

Code:
web_root.putChild('recent_blocks', WebInterface(lambda: [dict(
    ts=s.timestamp,
    hash='%064x' % s.header_hash,
    number=p2pool_data.parse_bip0034(s.share_data['coinbase'])[0],
    share='%064x' % s.hash,
) for s in node.tracker.get_chain(node.best_share_var.value, min(node.tracker.get_height(node.best_share_var.value), 24*60*60//node.net.SHARE_PERIOD)) if s.pow_hash <= s.header['bits'].target]))

It's pulling data from the shares it knows about and getting the block data.  Since p2pool only keeps a limited set of data (as kano pointed out), it will only be able to retrieve a limited date range to calculate whether or not any blocks have been found recently.

Even using blockchain.info APIs will only return a limited set of found blocks.  For example, calling:

Code:
https://blockchain.info/blocks/P2Pool?format=json

Will return:

Code:
{
"blocks" : [
{
"height" : 357093,
"hash" : "000000000000000000040c489a058329c1aee111f8ad9651cac6a7050e58e52c",
"time" : 1432021066,
"main_chain" : true
},

{
"height" : 357023,
"hash" : "00000000000000000921e1b12a628c53aa4958dbcddc618141e0661a8cab983b",
"time" : 1431974068,
"main_chain" : true
},

{
"height" : 356722,
"hash" : "00000000000000001537af797fc306f8a8d5670aa4e1712b78a722cbd0b86c1f",
"time" : 1431808098,
"main_chain" : true
},

{
"height" : 356672,
"hash" : "00000000000000000e7e3e8519c56a6e9e3413632d3c05990fb299288570a73f",
"time" : 1431772821,
"main_chain" : true
},

{
"height" : 356638,
"hash" : "000000000000000010f11ea678a9447a348499255e11bfbc69b42f787292f19d",
"time" : 1431748262,
"main_chain" : true
},

{
"height" : 356621,
"hash" : "000000000000000016a0b7d559e4b49d69c863c7cb3e182f6aaacf8be524b4d7",
"time" : 1431738916,
"main_chain" : true
}
]
}

To truly build a history of found blocks, you'll have to get details on every block found to see if it happened to be added to the chain by P2Pool.  Then you use the "block notify" event from bitcoind to tell you every time a block is found, so you can go and do the same thing for the newest block.

Once you do, you'll end up with something very similar to what windpath has.

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.
yslyung
Legendary
*
Offline Offline

Activity: 1491
Merit: 1000


Mine Mine Mine


View Profile
May 20, 2015, 01:49:22 PM
 #12626

thx jb, i was thinking to do something about like windpath for the block history. but it's too much work. but happy with what is being shown atm at my pool.

btw, is there a way to ban/kick someone/ip from mining at my pool ?

there's an address with a incomplete btc address mining with very low  hashrate & pool does not show it's share difficulty & time to share.




and another block today ... hope p2pool will keep it up  Cool
jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1015


Mine at Jonny's Pool


View Profile WWW
May 20, 2015, 03:24:01 PM
 #12627

thx jb, i was thinking to do something about like windpath for the block history. but it's too much work. but happy with what is being shown atm at my pool.

btw, is there a way to ban/kick someone/ip from mining at my pool ?

there's an address with a incomplete btc address mining with very low  hashrate & pool does not show it's share difficulty & time to share.




and another block today ... hope p2pool will keep it up  Cool
If it's an invalid BTC address, then if and when that miner finds a share, it'll be a donation to you.  Whatever address your p2pool node uses as its default payout address will be the one that gets any credit for shares from invalid addresses.  So, I suppose you could just let whoever it is mine away and thank them for the donation Tongue

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.
Songminer
Member
**
Offline Offline

Activity: 76
Merit: 10


View Profile
May 20, 2015, 04:25:03 PM
 #12628

And another block.

Best of all, I saw we were at 2.4 PH/s and it crossed 3 yesterday?!?  Still fluctuating, but if we can get the mean above 2, I believe we will all be better off.
twebit
Member
**
Offline Offline

Activity: 91
Merit: 10


View Profile
May 20, 2015, 05:22:04 PM
 #12629

I just started my publicly accessible p2pool at http://50.70.132.95:9332/static/
barely figured it out but got it. Whew! Grin
yslyung
Legendary
*
Offline Offline

Activity: 1491
Merit: 1000


Mine Mine Mine


View Profile
May 20, 2015, 05:48:02 PM
 #12630

And another block.

Best of all, I saw we were at 2.4 PH/s and it crossed 3 yesterday?!?  Still fluctuating, but if we can get the mean above 2, I believe we will all be better off.


not only yesterday it crossed over 3phs, last couple of days too but briefly.

did you noticed or realized that the last 7 recent blocks were found under 2phs on an avg of 1.6phs ?

i'm not saying lower is better but 2phs or greater would be much better Wink

last couple of hours till now the hashrate has been very near & above 2phs.

more blocks = more hashrate to the pool imo.

yes & back to the old story, the fallback of p2pool ... high diffs will not benefit small miners but most newer miners are more powerful at least 1ths & up so, sorry to say sorry to the those who still mines with a s1. go get a newer miner & beef it up. look fwd & not backward weeping about high diffs.
jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1015


Mine at Jonny's Pool


View Profile WWW
May 20, 2015, 05:53:38 PM
 #12631

I just started my publicly accessible p2pool at http://50.70.132.95:9332/static/
barely figured it out but got it. Whew! Grin
Congratulations on getting your own node up and running Smiley.

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.
twebit
Member
**
Offline Offline

Activity: 91
Merit: 10


View Profile
May 20, 2015, 05:57:58 PM
 #12632

Ya I'm greeeeen but got it and then I forwarded my domain name raintowers.com to it and that worked too! I'm just running it on ubuntu.
Don't know what I opened myself up to with regards to security blabla .
jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1015


Mine at Jonny's Pool


View Profile WWW
May 20, 2015, 06:04:01 PM
 #12633

Ya I'm greeeeen but got it and then I forwarded my domain name raintowers.com to it and that worked too! I'm just running it on ubuntu.
Don't know what I opened myself up to with regards to security blabla .
Well, you obviously figured out how to open up port 9332 to the world, and how to assign a domain name to that IP address... so you're good there.

As far as other ports are concerned...

9333 - p2pool peer network.  Sets you up as a good p2pool citizen and allows for lots of inbound/outbound connections.  The better connected your node, the better the chances shares/blocks you find end up being accepted.
8333 - BTC peer network.  Pretty much the same as above, except only BTC traffic.

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.
twebit
Member
**
Offline Offline

Activity: 91
Merit: 10


View Profile
May 20, 2015, 06:06:32 PM
 #12634

Ya I'm greeeeen but got it and then I forwarded my domain name raintowers.com to it and that worked too! I'm just running it on ubuntu.
Don't know what I opened myself up to with regards to security blabla .
Well, you obviously figured out how to open up port 9332 to the world, and how to assign a domain name to that IP address... so you're good there.

As far as other ports are concerned...

9333 - p2pool peer network.  Sets you up as a good p2pool citizen and allows for lots of inbound/outbound connections.  The better connected your node, the better the chances shares/blocks you find end up being accepted.
8333 - BTC peer network.  Pretty much the same as above, except only BTC traffic.

OK thanks for that. They are already opened so I I'm good to go.
windpath
Legendary
*
Offline Offline

Activity: 1236
Merit: 1001


View Profile WWW
May 20, 2015, 07:04:18 PM
 #12635

I just started my publicly accessible p2pool at http://50.70.132.95:9332/static/
barely figured it out but got it. Whew! Grin

Lookin' good, welcome to the party! Smiley
Geremia
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250


View Profile WWW
May 20, 2015, 07:05:44 PM
 #12636

I just started my publicly accessible p2pool at http://50.70.132.95:9332/static/
barely figured it out but got it. Whew! Grin
Nice.
I use https://github.com/hardcpp/P2PoolExtendedFrontEnd , too; it makes it look nicer.

BTC tip jar | my BTC wiki, BTC StackExchange, & Twister posts pages | Tox ID: 65C3E8810738AD9D175234808FCB317A1103632903436203D45411AE97C03F54C34861AB6663
Join Kraken. | The best, free book on Bitcoin: Mastering Bitcoin
Nos cum prole pia benedicat Virgo Maria.
twebit
Member
**
Offline Offline

Activity: 91
Merit: 10


View Profile
May 20, 2015, 07:13:56 PM
 #12637

OK thanks. I tried CoinCadence.com but too far away then I tried another that wasn't too bad then I connected to one in Guelph then I figured do it myself.

I tried that alternate front end but it didn't show the "Payout if a block were found NOW" section at the top and it's really all I know how to look at right now. But I guess a person could really build that out with the right experience.
windpath
Legendary
*
Offline Offline

Activity: 1236
Merit: 1001


View Profile WWW
May 20, 2015, 07:35:59 PM
 #12638

OK thanks. I tried CoinCadence.com but too far away then I tried another that wasn't too bad then I connected to one in Guelph then I figured do it myself.

I tried that alternate front end but it didn't show the "Payout if a block were found NOW" section at the top and it's really all I know how to look at right now. But I guess a person could really build that out with the right experience.

Node-Status is a decent one to check out too.

Example: http://minefast.coincadence.com:9332/static/node-status/

Source: https://github.com/johndoe75/p2pool-node-status
nicklello
Member
**
Offline Offline

Activity: 194
Merit: 10

“Open and Transparent Science Powered By Blockchai


View Profile
May 21, 2015, 09:42:06 AM
 #12639


If there's anyone in the UK looking for a local node to mine at; I've just opened up my p2pool node:-

                           http://btc.hassocksmining.co.uk:9332


ORVIUM        Open and Transparent Science Powered By Blockchain        ORVIUM
█    Whitepaper        Telegram        Twitter        Facebook        Reddit        Blog    █
▇▆▅▃▃▃▃▃▃   Token Generation Event: Coming Soon   ▃▃▃▃▃▃▅▆▇
twebit
Member
**
Offline Offline

Activity: 91
Merit: 10


View Profile
May 21, 2015, 05:17:30 PM
 #12640

I haven't seen this elsewhere but if it's a duplicate just let me know.
I found this site http://p2pool.jir.dk/bitcoin/ that finds nearest nodes.
The first time you load the page is not that accurate but refresh and it's better.
Cheers!
Pages: « 1 ... 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 [632] 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 ... 815 »
  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!