Author

Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool - page 624. (Read 2591920 times)

legendary
Activity: 1036
Merit: 1000
DARKNETMARKETS.COM

Accessing http://127.0.0.1:9332/static/share.html
Causes bug in main program, will output this to cmd window.

Code:
2012-11-12 22:28:29.704000 > Error in DeferredResource handler:
2012-11-12 22:28:29.704000 > Traceback (most recent call last):
2012-11-12 22:28:29.704000 >   File "p2pool\util\deferred_resource.pyc", line 24, in render
2012-11-12 22:28:29.704000 >
2012-11-12 22:28:29.704000 >   File "twisted\internet\defer.pyc", line 134, in maybeDeferred
2012-11-12 22:28:29.704000 >
2012-11-12 22:28:29.704000 >   File "twisted\web\resource.pyc", line 216, in render
2012-11-12 22:28:29.704000 >
2012-11-12 22:28:29.704000 >   File "twisted\internet\defer.pyc", line 1187, in unwindGenerator
2012-11-12 22:28:29.704000 >
2012-11-12 22:28:29.704000 > --- ---
2012-11-12 22:28:29.704000 >   File "twisted\internet\defer.pyc", line 1045, in _inlineCallbacks
2012-11-12 22:28:29.704000 >
2012-11-12 22:28:29.704000 >   File "p2pool\web.pyc", line 195, in render_GET
2012-11-12 22:28:29.704000 >
2012-11-12 22:28:29.704000 >   File "p2pool\web.pyc", line 318, in
2012-11-12 22:28:29.704000 >
2012-11-12 22:28:29.704000 >   File "p2pool\web.pyc", line 278, in get_share
2012-11-12 22:28:29.704000 >
2012-11-12 22:28:29.704000 > exceptions.ValueError: invalid literal for int() with base 16: ''

How fast should a miner ask for updates from P2 pool?    I can do 1ms to 10,000 ms.

ALSO, if you want to parse the text window output for keywords to cause actions, you can use a program called : SCANCODE

Confirming here as well. Newest p2pool from git + newest bitcoind from git, on Debian stable AMD64.
Code:
012-11-13 14:03:14.633558 > Traceback (most recent call last):
2012-11-13 14:03:14.633884 >   File "/home/x/p2pool/p2pool/util/deferred_resource.py", line 24, in render
2012-11-13 14:03:14.634099 >     defer.maybeDeferred(resource.Resource.render, self, request).addCallbacks(finish, finish_error)
2012-11-13 14:03:14.634293 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 125, in maybeDeferred
2012-11-13 14:03:14.634480 >     result = f(*args, **kw)
2012-11-13 14:03:14.634806 >   File "/usr/lib/python2.6/dist-packages/twisted/web/resource.py", line 210, in render
2012-11-13 14:03:14.635060 >     return m(request)
2012-11-13 14:03:14.635283 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 1014, in unwindGenerator
2012-11-13 14:03:14.635476 >     return _inlineCallbacks(None, f(*args, **kwargs), Deferred())
2012-11-13 14:03:14.635660 > --- ---
2012-11-13 14:03:14.635847 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 893, in _inlineCallbacks
2012-11-13 14:03:14.636031 >     result = g.send(result)
2012-11-13 14:03:14.636213 >   File "/home/x/p2pool/p2pool/web.py", line 195, in render_GET
2012-11-13 14:03:14.636394 >     res = yield self.func(*self.args)
2012-11-13 14:03:14.636575 >   File "/home/x/p2pool/p2pool/web.py", line 318, in
2012-11-13 14:03:14.636874 >     new_root.putChild('share', WebInterface(lambda share_hash_str: get_share(share_hash_str)))
2012-11-13 14:03:14.637101 >   File "/home/x/p2pool/p2pool/web.py", line 278, in get_share
2012-11-13 14:03:14.637300 >     if int(share_hash_str, 16) not in node.tracker.items:
2012-11-13 14:03:14.637491 > exceptions.ValueError: invalid literal for int() with base 16: ''
legendary
Activity: 1855
Merit: 1016
@aadje93: Hiding last 11 characters in address has no use.
Coz just by typing 1Es9aGi in search field of blockchain.info, will show full address & bitcoins.
https://blockchain.info/address/1Es9aGimor2fuHM1xMX4gA7w6t14PQ7NP3

Next time, hide first 11 characters.
sr. member
Activity: 308
Merit: 250
got 5,07 bitcoin in 12 hours of mining Cheesy  Roll Eyes (~4,5ghs, estimated by p2pool 0,62-0,80/24hr)




Mystery solved:  That's not 5 BTC in 12 hours.  It's 5 BTC in 26 hours Smiley

dont count the one from the 10:11 i am counting from 18:00 > ~6:00 wich is around 12hours Wink

EDIT:

haha epic fail from me i see it now Tongue, my bad, but still nice reward with 4.2bitcoin in 14hours Wink
sr. member
Activity: 308
Merit: 250
got 5,07 bitcoin in 12 hours of mining Cheesy  Roll Eyes (~4,5ghs, estimated by p2pool 0,62-0,80/24hr)




Mystery solved:  That's not 5 BTC in 12 hours.  It's 5 BTC in 26 hours Smiley

dont count the one from the 10:11 i am counting from 18:00 > ~6:00 wich is around 12hours Wink
newbie
Activity: 22
Merit: 0

Accessing http://127.0.0.1:9332/static/share.html
Causes bug in main program, will output this to cmd window.

Code:
2012-11-12 22:28:29.704000 > Error in DeferredResource handler:
2012-11-12 22:28:29.704000 > Traceback (most recent call last):
2012-11-12 22:28:29.704000 >   File "p2pool\util\deferred_resource.pyc", line 24, in render
2012-11-12 22:28:29.704000 >
2012-11-12 22:28:29.704000 >   File "twisted\internet\defer.pyc", line 134, in maybeDeferred
2012-11-12 22:28:29.704000 >
2012-11-12 22:28:29.704000 >   File "twisted\web\resource.pyc", line 216, in render
2012-11-12 22:28:29.704000 >
2012-11-12 22:28:29.704000 >   File "twisted\internet\defer.pyc", line 1187, in unwindGenerator
2012-11-12 22:28:29.704000 >
2012-11-12 22:28:29.704000 > --- ---
2012-11-12 22:28:29.704000 >   File "twisted\internet\defer.pyc", line 1045, in _inlineCallbacks
2012-11-12 22:28:29.704000 >
2012-11-12 22:28:29.704000 >   File "p2pool\web.pyc", line 195, in render_GET
2012-11-12 22:28:29.704000 >
2012-11-12 22:28:29.704000 >   File "p2pool\web.pyc", line 318, in
2012-11-12 22:28:29.704000 >
2012-11-12 22:28:29.704000 >   File "p2pool\web.pyc", line 278, in get_share
2012-11-12 22:28:29.704000 >
2012-11-12 22:28:29.704000 > exceptions.ValueError: invalid literal for int() with base 16: ''

How fast should a miner ask for updates from P2 pool?    I can do 1ms to 10,000 ms.

ALSO, if you want to parse the text window output for keywords to cause actions, you can use a program called : SCANCODE
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
So a hard p2pool fork?

Sorry I guess I'm just too used to BTC devs running screaming every time a hard fork is mentioned ... so I didn't think that's what you were referring to.
Most of the p2pool upgrades that I've seen are hard forks

It's less severe than a bitcoin hard fork because worst case, you are just left solo mining.  It's not like you are on a different bitcoin blockchain and can't spend your money anymore.
Except that all your unpaid shares are worth nothing once the fork disappears.
hero member
Activity: 737
Merit: 500
So a hard p2pool fork?

Sorry I guess I'm just too used to BTC devs running screaming every time a hard fork is mentioned ... so I didn't think that's what you were referring to.
Most of the p2pool upgrades that I've seen are hard forks

It's less severe than a bitcoin hard fork because worst case, you are just left solo mining.  It's not like you are on a different bitcoin blockchain and can't spend your money anymore.
legendary
Activity: 1540
Merit: 1001
So a hard p2pool fork?

Sorry I guess I'm just too used to BTC devs running screaming every time a hard fork is mentioned ... so I didn't think that's what you were referring to.

Most of the p2pool upgrades that I've seen are hard forks:

Quote
P2Pool release 9.0 tag: 9.0 hash: 2cb4d8381e179f71ea2075cdce948ea83cf0dc55

HARDFORK: Upgrade is required! Hardfork will happen after 95% of the pool's hash rate has upgraded. Everybody having not upgraded will be split off into a tiny P2Pool.

M
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
Heh - I was arguing that it should just work then got corrected (pointed out I was wrong) and worked out why back here:
https://bitcointalksearch.org/topic/m.1311688

You now seem to be saying it will 'just' work Tongue

Implementing Stratum in P2Pool without adding the extra p2pool coinbase rules to the miner will be no different to using GetWork as far as I see.
Since without those rules, the only thing the miner can do is roll the nonce and the time.
So in reality it will just be 'getwork' not 'stratum' going to the miner.

You will still only be using roll-n-time in the miner until the miner knows the P2Pool rules to add to Stratum - since stratum updates the secondary nonce in the coinbase but of course doesn't update anything else in there, since for non-share chain, nothing else is required - but for p2pool you do have to change something for the share-chain (I've no idea exactly where it is in there)

It didn't just work - It required a change to P2Pool's rules to allow a 4-byte nonce in the last txout script. I mentioned the possibility here:

However, I discovered yesterday that Stratum is flexible enough to roll any data in the coinbase transaction at all, though, so rolling something in the last txout script is probably possible (though it would require a change to P2Pool's rules).
So a hard p2pool fork?

Sorry I guess I'm just too used to BTC devs running screaming every time a hard fork is mentioned ... so I didn't think that's what you were referring to.
hero member
Activity: 516
Merit: 643
Heh - I was arguing that it should just work then got corrected (pointed out I was wrong) and worked out why back here:
https://bitcointalksearch.org/topic/m.1311688

You now seem to be saying it will 'just' work Tongue

Implementing Stratum in P2Pool without adding the extra p2pool coinbase rules to the miner will be no different to using GetWork as far as I see.
Since without those rules, the only thing the miner can do is roll the nonce and the time.
So in reality it will just be 'getwork' not 'stratum' going to the miner.

You will still only be using roll-n-time in the miner until the miner knows the P2Pool rules to add to Stratum - since stratum updates the secondary nonce in the coinbase but of course doesn't update anything else in there, since for non-share chain, nothing else is required - but for p2pool you do have to change something for the share-chain (I've no idea exactly where it is in there)

It didn't just work - It required a change to P2Pool's rules to allow a 4-byte nonce in the last txout script. I mentioned the possibility here:

However, I discovered yesterday that Stratum is flexible enough to roll any data in the coinbase transaction at all, though, so rolling something in the last txout script is probably possible (though it would require a change to P2Pool's rules).
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
* Stratum support in the P2Pool protocol. Stratum mining will be enabled in a future patch to v9.
I think this is great news, allowing p2pool to scale to any size in the future, taking a lot of load off the local p2pool software itself, allowing it to concentrate on the business of getting those blocks and transactions out ASAP. Sending higher difficulty targets to the miner will take it even further.
I agree.  What I'm curious about is how it's there, but not enabled, and why?

I simply haven't written the code for a Stratum server yet. Getting support into the P2Pool protocol and everyone switched over so it will work once implemented was the priority.
Heh - I was arguing that it should just work then got corrected (pointed out I was wrong) and worked out why back here:
https://bitcointalksearch.org/topic/m.1311688

You now seem to be saying it will 'just' work Tongue

Implementing Stratum in P2Pool without adding the extra p2pool coinbase rules to the miner will be no different to using GetWork as far as I see.
Since without those rules, the only thing the miner can do is roll the nonce and the time.
So in reality it will just be 'getwork' not 'stratum' going to the miner.

You will still only be using roll-n-time in the miner until the miner knows the P2Pool rules to add to Stratum - since stratum updates the secondary nonce in the coinbase but of course doesn't update anything else in there, since for non-share chain, nothing else is required - but for p2pool you do have to change something for the share-chain (I've no idea exactly where it is in there)
hero member
Activity: 516
Merit: 643
* Stratum support in the P2Pool protocol. Stratum mining will be enabled in a future patch to v9.
I think this is great news, allowing p2pool to scale to any size in the future, taking a lot of load off the local p2pool software itself, allowing it to concentrate on the business of getting those blocks and transactions out ASAP. Sending higher difficulty targets to the miner will take it even further.
I agree.  What I'm curious about is how it's there, but not enabled, and why?

I simply haven't written the code for a Stratum server yet. Getting support into the P2Pool protocol and everyone switched over so it will work once implemented was the priority.
legendary
Activity: 1540
Merit: 1001
* Stratum support in the P2Pool protocol. Stratum mining will be enabled in a future patch to v9.
I think this is great news, allowing p2pool to scale to any size in the future, taking a lot of load off the local p2pool software itself, allowing it to concentrate on the business of getting those blocks and transactions out ASAP. Sending higher difficulty targets to the miner will take it even further.

I agree.  What I'm curious about is how it's there, but not enabled, and why?

M
hero member
Activity: 658
Merit: 500
Or, you could just look at the block from p2pool.info and payouts and figure out who someone "is". Not like having a btc address is worth anything.

Last block, http://blockchain.info/tx/461dc130c75eb95ac54bbdfaff5375ce091f8cdde2d526e554050880471e5905
legendary
Activity: 1792
Merit: 1008
/dev/null
Not much point putting a black line through the end of the addresses!
You only need about 10 characters of an address for it to be unique:
http://www.firstbits.com/?a=1Es9aGimor

seems like a winblows user with mspaint Cheesy
sr. member
Activity: 438
Merit: 291
P2Pool release 9.0 tag: 9.0 hash: 2cb4d8381e179f71ea2075cdce948ea83cf0dc55



Love the NewNewShare class Smiley Made me laugh as much as the recent document I read that said "the NewXXX class is now depreciated".
sr. member
Activity: 438
Merit: 291
Not much point putting a black line through the end of the addresses!
You only need about 10 characters of an address for it to be unique:
http://www.firstbits.com/?a=1Es9aGimor
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
* Stratum support in the P2Pool protocol. Stratum mining will be enabled in a future patch to v9.
I think this is great news, allowing p2pool to scale to any size in the future, taking a lot of load off the local p2pool software itself, allowing it to concentrate on the business of getting those blocks and transactions out ASAP. Sending higher difficulty targets to the miner will take it even further.
legendary
Activity: 1540
Merit: 1001
got 5,07 bitcoin in 12 hours of mining Cheesy  Roll Eyes (~4,5ghs, estimated by p2pool 0,62-0,80/24hr)




Mystery solved:  That's not 5 BTC in 12 hours.  It's 5 BTC in 26 hours Smiley

lol

it never occurred to me that was a screenshot of them all those he was counting.  thanks. Smiley

M
hero member
Activity: 737
Merit: 500
got 5,07 bitcoin in 12 hours of mining Cheesy  Roll Eyes (~4,5ghs, estimated by p2pool 0,62-0,80/24hr)




Mystery solved:  That's not 5 BTC in 12 hours.  It's 5 BTC in 26 hours Smiley
Jump to: