P2Pool P2Pool repository and python modules

thelazier

Active Member
Jan 5, 2015
240
184
103
Thailand
Dash Address
Xreiza1qGJMT5BpW6BDtRJqwtcBSxGwWYN
Actually my vps is Ubuntu 14.04.2 LTS , which has python 2.7.6 by default.. I will try running on my local :)
My code still running fine on my python 2.7.9 , strange :)
Addtional Info, my code is also running fine on my python 2.7.10.
 
Last edited by a moderator:

thelazier

Active Member
Jan 5, 2015
240
184
103
Thailand
Dash Address
Xreiza1qGJMT5BpW6BDtRJqwtcBSxGwWYN
thelazier
no no no
let`s wait v12 release.
ok, I'm waiting while I do really want to use new version as soon as possible so our donation script will be in action :)
+ Migration 2 system at same time will cause more time for troubleshooting :) , If we can migrate p2pool finish before start migration to v12 wallet, our p2pool will be ready and p2pool mined blocks will touch both v11 and v12 wallets during migration time which should be nice.
 

poiuty

Active Member
Nov 26, 2014
408
226
113
thelazier, agree.
but we cant send this update to all owners p2pool.
hashrate down and we just started to increase it.
when v12 release - all p2pool owners visit forum and see update.
 

UdjinM6

Official Dash Dev
Dash Core Group
May 20, 2014
3,639
3,537
1,183
Since the official is updated , shall we migrate to latest commit of p2pool on mainnet ?
I don't think me or any "officials" have any power to say what version P2Pool node holders (or any other pool actually) have to run :rolleyes:
If you guys feel it works fine - pls organize and migrate to new version when everyone is ready.
 

UdjinM6

Official Dash Dev
Dash Core Group
May 20, 2014
3,639
3,537
1,183

thelazier

Active Member
Jan 5, 2015
240
184
103
Thailand
Dash Address
Xreiza1qGJMT5BpW6BDtRJqwtcBSxGwWYN
Guys, can anyone who is familiar with p2pool code help me pls?

As far as I see p2pool uses OP_RETURN to store some data in coinbase last output
http://test.explorer.darkcoin.qa/tx...ca0a9ff4d3d09af0788054ffd8a8e7c06199ca3796#o5
https://github.com/dashpay/p2pool-dash/blob/master/p2pool/data.py#L214
Code:
script='\x6a\x28' + cls.get_ref_hash(net, share_info, ref_merkle_link) + pack.IntType(64).pack(last_txout_nonce),
Why is that and is it used for anything later?
I have no idea, it's something from the original creator : https://github.com/forrestv/p2pool/blob/master/p2pool/data.py#L209
 

thelazier

Active Member
Jan 5, 2015
240
184
103
Thailand
Dash Address
Xreiza1qGJMT5BpW6BDtRJqwtcBSxGwWYN
ok, I'm waiting while I do really want to use new version as soon as possible so our donation script will be in action :)
+ Migration 2 system at same time will cause more time for troubleshooting :) , If we can migrate p2pool finish before start migration to v12 wallet, our p2pool will be ready and p2pool mined blocks will touch both v11 and v12 wallets during migration time which should be nice.
Ok, 10 days waiting :) and no reason to wait for v12 as UdjinM6 mentioned,
I upgraded my mainnet to latest version + dirty about bootstrap address to have only my node for mainnet.
poiuty How about resetting the BOOTSTRAP_ADDRS for new version ?
Reason :
1. p2pool owners are around the world , no way that everyone will have same time stop the node and start new one :) So, they can upgrade whenever they are ready.
2. the new node will be able to start with latest commit without reset to old one while waiting v12, and we will have active server ready for their shares downloading for first run.
3. the shares will be reset anyway when the node switch to new version, IMO. Please let me know if you have solution to migrate old shares to new p2pool version.
BTW, What would be good solution to gather p2pool owners to start upgrade version of p2pool-dash ?
 

sreg0r

New Member
Jul 25, 2015
2
2
3
fairly new to cryptos, but i just followed the steps on the github repo and appear to be running on fedb4fe-dirty with no issues.
 
  • Like
Reactions: thelazier

poiuty

Active Member
Nov 26, 2014
408
226
113
thelazier, well we have ~550MH/s => who update.
And 760MH/s => who not update. Can u help to "ping" p2pool owners to update?
 

thelazier

Active Member
Jan 5, 2015
240
184
103
Thailand
Dash Address
Xreiza1qGJMT5BpW6BDtRJqwtcBSxGwWYN
thelazier, well we have ~550MH/s => who update.
And 760MH/s => who not update. Can u help to "ping" p2pool owners to update?
poiuty , well, we did good job for only 3 days to gain about 40% Hashrate to update. :)
I don't know other owners to ping as well. (just check the biggest target , http://178.236.137.238:7903/static/ , you may know who SkyLabSD is)..
How about we create a new pinned thread to replace this thread with most updated information on 1st post ?
...It seems vertoe is not around anymore. Here is the new official minimally maintained p2pool repository for Dash:...
 

mr.slaveg

Member
Nov 26, 2014
140
45
78
2015-08-17 10:57:21.045111 Unneeded inv type {'type': 'masternode_ping', 'hash': 112987251281371961276372999960433999105325515284761691216663096141898461268702L}
2015-08-17 10:57:21.267750 Unneeded inv type {'type': 'masternode_ping', 'hash': 21359636237550357716400303501052467506551198540518964945746995258351142565847L}
2015-08-17 10:57:21.466671 Unneeded inv type {'type': 'masternode_ping', 'hash': 26230512626319159898480642966228455165529653255993997493338000240773439224684L}
2015-08-17 10:57:21.842681 Unneeded inv type {'type': 'masternode_ping', 'hash': 92413042877064682787296728896259181752450340304172428851803805828800366748099L}
2015-08-17 10:57:22.159859 Unneeded inv type {'type': 'masternode_ping', 'hash': 92708001124313041307979914160020739954302278358649773050589729501648210927467L}
 

thelazier

Active Member
Jan 5, 2015
240
184
103
Thailand
Dash Address
Xreiza1qGJMT5BpW6BDtRJqwtcBSxGwWYN
2015-08-17 10:57:21.045111 Unneeded inv type {'type': 'masternode_ping', 'hash': 112987251281371961276372999960433999105325515284761691216663096141898461268702L}
2015-08-17 10:57:21.267750 Unneeded inv type {'type': 'masternode_ping', 'hash': 21359636237550357716400303501052467506551198540518964945746995258351142565847L}
2015-08-17 10:57:21.466671 Unneeded inv type {'type': 'masternode_ping', 'hash': 26230512626319159898480642966228455165529653255993997493338000240773439224684L}
2015-08-17 10:57:21.842681 Unneeded inv type {'type': 'masternode_ping', 'hash': 92413042877064682787296728896259181752450340304172428851803805828800366748099L}
2015-08-17 10:57:22.159859 Unneeded inv type {'type': 'masternode_ping', 'hash': 92708001124313041307979914160020739954302278358649773050589729501648210927467L}
https://github.com/dashpay/p2pool-dash/commit/c5282cac7500cc955e06a5c7503c37a64c5f6032