Bitcoin Forum
May 05, 2024, 07:32:12 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 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 ... 814 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2591633 times)
p3yot33at3r
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250



View Profile
December 18, 2015, 02:28:52 AM
 #14001

v15 done.  Cheesy

Great stuff - & we're now @ 3 PH!  Smiley
1714894332
Hero Member
*
Offline Offline

Posts: 1714894332

View Profile Personal Message (Offline)

Ignore
1714894332
Reply with quote  #2

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

Posts: 1714894332

View Profile Personal Message (Offline)

Ignore
1714894332
Reply with quote  #2

1714894332
Report to moderator
1714894332
Hero Member
*
Offline Offline

Posts: 1714894332

View Profile Personal Message (Offline)

Ignore
1714894332
Reply with quote  #2

1714894332
Report to moderator
bney
Full Member
***
Offline Offline

Activity: 333
Merit: 100



View Profile
December 18, 2015, 04:44:17 PM
 #14002

I am attempting to get p2pool running for litecoin, My startup line is
python ./run_p2pool.py --net litecoin --give-author 1 -f 0 --bitcoind-rpc-port 10332 -n litecoin-p2pool.com:9338 USERNAME PASSWORD

I am getting an error connecting to the blockchain that traces back to something called softforks. It seems unable to connect to the blockchain.

The litecoin conf file contains

server=1
listen-1
bind=0.0.0.0
daemon=1
rpcport=10332
port=10333
rpcallowip=127.0.0.1

I have the bitcoin version running just fine. I appear to be missing something here.
tolazy
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
December 18, 2015, 06:55:27 PM
Last edit: December 18, 2015, 08:11:45 PM by tolazy
 #14003

is this right or have i missconfig my p2pool or bitcoind

2015-12-18 19:53:19.721694  Local: 409GH/s in last 10.0 minutes Local dead on arrival: ~3.4% (2-6%) Expected time to share: 3.2 hours
2015-12-18 19:53:19.721759  Shares: 0 (0 orphan, 0 dead) Stale rate: Huh Efficiency: Huh Current payout: (0.0100)=0.0100 BTC
2015-12-18 19:53:19.721812  Pool: 1131TH/s Stale rate: 25.0% Expected time to block: 3.5 days


p2pool start up:
-a 1DSPW6L2tvCKVDvT9Qiq2RGs7rscwYSfxF --bitcoind-address 192.168.1.1 --logfile /var/log/p2pool --net bitcoin --give-author 0 --no-bugreport -f 0 --max-conns 8 --external-ip externalIP:9330

((if you specifiy "-a 1DSPW6L2tvCKVDvT9Qiq2RGs7rscwYSfxF" like i have done does that mean all people that mine to p2pool goes to me or is it the btc you have set on the miner it self)) reread it. nvm on that..
but if i use -f FEE_PERCENTAGE, --fee FEE_PERCENTAGE where does the fee go to. how do i set it so it goes to my wallet

bitcoind:
DAEMON_ARGS="-daemon -listen -conf=/home/bitcoind/.bitcoin/bitcoin.conf"

# bitcoin.conf configuration file. Lines beginning with # are comments.


 # Network-related settings:

 # Run on the test network instead of the real bitcoin network.
 #testnet=0

 # Connect via a socks4 proxy
 #proxy=127.0.0.1:9050

 ##############################################################
 ##            Quick Primer on addnode vs connect            ##
 ##  Let's say for instance you use addnode=4.2.2.4          ##
 ##  addnode will connect you to and tell you about the      ##
 ##    nodes connected to 4.2.2.4.  In addition it will tell ##
 ##    the other nodes connected to it that you exist so     ##
 ##    they can connect to you.                              ##
 ##  connect will not do the above when you 'connect' to it. ##
 ##    It will *only* connect you to 4.2.2.4 and no one else.##
 ##                                                          ##
 ##  So if you're behind a firewall, or have other problems  ##
 ##  finding nodes, add some using 'addnode'.                ##
 ##                                                          ##
 ##  If you want to stay private, use 'connect' to only      ##
 ##  connect to "trusted" nodes.                             ##
 ##                                                          ##
 ##  If you run multiple nodes on a LAN, there's no need for ##
 ##  all of them to open lots of connections.  Instead       ##
 ##  'connect' them all to one node that is port forwarded   ##
 ##  and has lots of connections.                            ##
 ##       Thanks goes to [Noodle] on Freenode.               ##
 ##############################################################

 # Use as many addnode= settings as you like to connect to specific peers
 #addnode=69.164.218.197
 #addnode=10.0.0.2:8333
addnode=104.238.174.252:9332
addnode=80.74.153.50:9332

 # ... or use as many connect= settings as you like to connect ONLY
 # to specific peers:
 #connect=69.164.218.197
 #connect=10.0.0.1:8333

 # Do not use Internet Relay Chat (irc.lfnet.org #bitcoin channel) to
 # find other peers.
 #noirc=0

 # Maximum number of inbound+outbound connections.
maxconnections=100


 # JSON-RPC options (for controlling a running Bitcoin/bitcoind process)

  server=1 #tells Bitcoin-QT to accept JSON-RPC commands.
server=1

 # You must set rpcuser and rpcpassword to secure the JSON-RPC api
 rpcuser=bitcoind
 rpcpassword=bitcoinandkarlsson050607

 # How many seconds bitcoin will wait for a complete RPC HTTP request.
 # after the HTTP connection is established.
rpctimeout=30

 # By default, only RPC connections from localhost are allowed.  Specify
 # as many rpcallowip= settings as you like to allow connections from
 # other hosts (and you may use * as a wildcard character):
 #rpcallowip=10.1.1.34
 #rpcallowip=192.168.1.*/24
 rpcallowip=192.168.1.0/24
 rpcallowip=213.66.108.0/24

 # Listen for RPC connections on this TCP port:
rpcport=8332

 # You can use Bitcoin or bitcoind to send commands to Bitcoin/bitcoind
 # running on another host using this option:
 #rpcconnect=127.0.0.1

 # Use Secure Sockets Layer (also known as TLS or HTTPS) to communicate
 # with Bitcoin -server or bitcoind
 #rpcssl=1

 # OpenSSL settings used when rpcssl=1
 #rpcsslciphers=TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!AH:!3DES:@STRENGTH
 #rpcsslcertificatechainfile=server.cert
 #rpcsslprivatekeyfile=server.pem


 # Miscellaneous options

 # Set gen=1 to attempt to generate bitcoins
 #gen=0

 # Use SSE instructions to try to generate bitcoins faster.
 #4way=1

 # Pre-generate this many public/private key pairs, so wallet backups will be valid for
 # both prior transactions and several dozen future transactions.
 #keypool=100

 # Pay an optional transaction fee every time you send bitcoins.  Transactions with fees
 # are more likely than free transactions to be included in generated blocks, so may
 # be validated sooner.
 paytxfee=0.0001

 # Allow direct connections for the 'pay via IP address' feature.
 #allowreceivebyip=1

 # User interface options

 # Start Bitcoin minimized
 #min=1

 # Minimize to the system tray
 #minimizetotray=1

blockmaxsize=1000000
mintxfee=0.00001
minrelaytxfee=0.00001
forrestv (OP)
Hero Member
*****
Offline Offline

Activity: 516
Merit: 643


View Profile
December 18, 2015, 07:18:56 PM
 #14004

I am getting an error connecting to the blockchain that traces back to something called softforks. It seems unable to connect to the blockchain.

Can you post the error/traceback you're getting from P2Pool?

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
bney
Full Member
***
Offline Offline

Activity: 333
Merit: 100



View Profile
December 18, 2015, 10:34:48 PM
 #14005

Here is the error that results from trying to start the pool on litecoin with the following command.

 python ./run_p2pool.py --net litecoin --give-author 1 -f 0 --bitcoind-rpc-port 10332 -n litecoin-p2pool.com:9338 Myusername Mypassword

2015-12-18 15:32:20.915937 Testing bitcoind RPC connection to 'http://127.0.0.1:10332/' with username 'litecoinrpc'...
2015-12-18 15:32:20.957060 > Error while checking Bitcoin connection:
2015-12-18 15:32:20.957108 > Traceback (most recent call last):
2015-12-18 15:32:20.957149 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 577, in _runCallbacks
2015-12-18 15:32:20.957186 >     current.result = callback(current.result, *args, **kw)
2015-12-18 15:32:20.957226 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1155, in gotResult
2015-12-18 15:32:20.957263 >     _inlineCallbacks(r, g, deferred)
2015-12-18 15:32:20.957302 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1097, in _inlineCallbacks
2015-12-18 15:32:20.957336 >     result = result.throwExceptionIntoGenerator(g)
2015-12-18 15:32:20.957369 >   File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
2015-12-18 15:32:20.957400 >     return g.throw(self.type, self.value, self.tb)
2015-12-18 15:32:20.957430 > --- <exception caught here> ---
2015-12-18 15:32:20.957460 >   File "/home/litecoin/p2pool-ltc/p2pool/util/deferral.py", line 41, in f
2015-12-18 15:32:20.957491 >     result = yield func(*args, **kwargs)
2015-12-18 15:32:20.957521 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1099, in _inlineCallbacks
2015-12-18 15:32:20.957552 >     result = g.send(result)
2015-12-18 15:32:20.957583 >   File "/home/litecoin/p2pool-ltc/p2pool/bitcoin/helper.py", line 25, in check
2015-12-18 15:32:20.957620 >     softforks_supported = set(item['id'] for item in (yield bitcoind.rpc_getblockchaininfo())['softforks'])
2015-12-18 15:32:20.957651 > exceptions.KeyError: 'softforks'
forrestv (OP)
Hero Member
*****
Offline Offline

Activity: 516
Merit: 643


View Profile
December 18, 2015, 10:38:11 PM
 #14006

Here is the error that results from trying to start the pool on litecoin with the following command.

Ah, okay, fixed in git HEAD. You probably should be using a release if you want stability, FYI. (To do that, look at the output of "git tag" and then "git checkout" the latest one.)

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
Alfi1966
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
December 20, 2015, 01:04:10 PM
 #14007

Questions,

On the p2pool.in site can be read: "And then, at 95%, users that have not upgraded will be excluded. If non-upgraded users aren't excluded before BIP65 takes effect, P2Pool users will be subject to paying other users for invalid work - effectively a withholding attack."

Since this pool http://61.219.120.109:9332 is still running a version < 15 with quite a high hash rate (8% of the p2pool total) I would expect it to be excluded from p2pool as stated, but appearantly it hasn't.

My question is, is this affecting other p2pool users as stated above now, and, what can be done about it? Clearly the pool owner is not responding to email and not responding on a public message in the blockchain.

Would like to hear your thoughts on this.

Meuh6879
Legendary
*
Offline Offline

Activity: 1512
Merit: 1011



View Profile
December 20, 2015, 03:59:08 PM
 #14008

No effect but this pool are not receive reward now (well, since the 14/12/2015).  Grin not too long before it see that ... i think.  Cheesy
p3yot33at3r
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250



View Profile
December 20, 2015, 04:38:13 PM
 #14009

Terrible waste of 120Th - I just emailed them.
Alfi1966
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
December 20, 2015, 05:25:20 PM
 #14010

No effect but this pool are not receive reward now (well, since the 14/12/2015).  Grin not too long before it see that ... i think.  Cheesy

Rewards are still payed out to this pool, see https://blockchain.info/address/1NJJgrGhU7rTFCgD9ZbfktKoyj4vFHe4yB

So, not excluded from rewards....
jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
December 20, 2015, 05:39:32 PM
 #14011

No effect but this pool are not receive reward now (well, since the 14/12/2015).  Grin not too long before it see that ... i think.  Cheesy
I'm not sure that's entirely accurate.  Without being on the latest version, any blocks they find would be invalid, correct?  In effect, they are indeed performing a block withholding attack because their hash is getting rewards but they'll never produce a block.

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

Activity: 1258
Merit: 1027


View Profile WWW
December 20, 2015, 08:36:40 PM
 #14012

No effect but this pool are not receive reward now (well, since the 14/12/2015).  Grin not too long before it see that ... i think.  Cheesy
I'm not sure that's entirely accurate.  Without being on the latest version, any blocks they find would be invalid, correct?  In effect, they are indeed performing a block withholding attack because their hash is getting rewards but they'll never produce a block.

After looking at their stats I believe JB is correct, Forrest would need to push a change to start rejecting their shares....

Meuh6879
Legendary
*
Offline Offline

Activity: 1512
Merit: 1011



View Profile
December 20, 2015, 10:21:29 PM
 #14013

After looking at their stats I believe JB is correct, Forrest would need to push a change to start rejecting their shares....

i have followed the transactions ... and i don't see that it's from a block create by P2Pool.
this adress receive others rewards from others pools, yes.
windpath
Legendary
*
Offline Offline

Activity: 1258
Merit: 1027


View Profile WWW
December 20, 2015, 11:11:05 PM
 #14014

You can view it's payouts on my node, only shows P2Pool coinbase payouts...

Was payed in block we just found...

http://minefast.coincadence.com/miner.php?id=1NJJgrGhU7rTFCgD9ZbfktKoyj4vFHe4yB
forrestv (OP)
Hero Member
*****
Offline Offline

Activity: 516
Merit: 643


View Profile
December 20, 2015, 11:26:13 PM
 #14015

As of a few days ago, outdated miners are excluded from the Bitcoin P2Pool. There's no problem or changes required.

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
windpath
Legendary
*
Offline Offline

Activity: 1258
Merit: 1027


View Profile WWW
December 20, 2015, 11:48:01 PM
 #14016

As of a few days ago, outdated miners are excluded from the Bitcoin P2Pool. There's no problem or changes required.

Thanks Forrest, would you mind taking a look at this node?

61.219.120.109:9332/static/

Shows V14 (dirty), still getting paid, maybe owner upgraded his source to produce V15 shares but didn't upgrade from repository?
Meuh6879
Legendary
*
Offline Offline

Activity: 1512
Merit: 1011



View Profile
December 21, 2015, 12:01:18 AM
 #14017


Ok, catched : http://blockr.io/address/info/1NJJgrGhU7rTFCgD9ZbfktKoyj4vFHe4yB

I don't understand the tree architecture on blockchain.info ... on blockR, it's more clear now.  Wink
forrestv (OP)
Hero Member
*****
Offline Offline

Activity: 516
Merit: 643


View Profile
December 21, 2015, 12:11:56 AM
 #14018

If someone appears to have gotten paid, it's just because they still had shares in the sharechain (which is several days long).

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
December 21, 2015, 12:51:42 AM
 #14019

Surely his shares would have started to fall off the chain by now if the pool truly stopped accepting anything from previous versions as of a couple days ago.  However, his hash rate remains consistent on his pool graphs and according to the stats on windpath's node, he looks like he's got 129TH/s (he's the third highest earnings in p2pool currently).

If he's truly on an older version of p2pool how it is that he's still getting shares onto the chain?  For example, can you explain this: http://61.219.120.109:9332/static/share.html#000000000000003ebbcfa3ecb3527397b7d64035db1ad7b816e18f9a053f63c4

That share was added to the chain today.

Edit: I can also see that share on windpath's node... so it's definitely on the chain.  I can also see it says v4... so I'm not sure what's going on 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.
windpath
Legendary
*
Offline Offline

Activity: 1258
Merit: 1027


View Profile WWW
December 21, 2015, 01:06:32 AM
 #14020

If you look at his local_stats endpoint it shows "protocol_version" 15 and "version" 14... Don't recall which determines share versions...

http://61.219.120.109:9332/local_stats

Pages: « 1 ... 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 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 ... 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!