Bitcoin Forum
December 03, 2016, 04:46:00 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 [74] 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 ... 744 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2028762 times)
NothinG
Hero Member
*****
Offline Offline

Activity: 560



View Profile
March 20, 2012, 07:50:03 AM
 #1461

Looks like hex obfuscation of malicious code.
I could be wrong though, it could just be a warning.
Can you recognize malicious code from hex? Smiley
I know these messages include a signature, so we can verify that this message indeed came from the authors. So it would make sense if the extra data is a signature (which will not be ASCII).
I can only recognize that its obfuscation and not a normal print out of something.

[Edit]: Alternatively, maybe there is an exploit that allowed a popup ( which would explain "ALERT:" ), thus the reason for the obfuscation. Again, I haven't deciphered the code...so, I could just be blowing theories out the window.

1480740360
Hero Member
*
Offline Offline

Posts: 1480740360

View Profile Personal Message (Offline)

Ignore
1480740360
Reply with quote  #2

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

Activity: 924



View Profile WWW
March 20, 2012, 08:03:27 AM
 #1462

I think this is just how Python prints out non-printable characters.

The "ALERT" is part of what p2pool prints out, it isn't part of the message it seems.

EDIT: Here it is: https://github.com/forrestv/p2pool/blob/master/p2pool/bitcoin/p2p.py#L141
Maybe p2pool is parsing the message incorrectly, so that some binary data ends up in the message part?

EDIT2: Indeed. The string that p2pool prints as the message contains additional information before the actual message string: https://en.bitcoin.it/wiki/Protocol_specification#alert
runeks
Legendary
*
Offline Offline

Activity: 924



View Profile WWW
March 20, 2012, 08:38:21 AM
 #1463

Looks like this is how the message breaks down (though I'm not sure where that J before the message string comes from):
Code:
version = \x01\x00\x00\x00
relay_until = \xf6\xfacO\x00\x00\x00\x00
expiration = \xf2*EQ\x00\x00\x00\x00
id = \xf3\x03\x00\x00
cancel = \xf2\x03\x00\x00
set_cancel = \x00
min_ver = P\xc3\x00\x00
max_ver = |\xc4\x00\x00
set_sub_ver = \x00
priority = \x88\x13\x00\x00
comment = \x00
status_bar = JURGENT: security fix for Bitcoin-Qt on Windows: http://bitcoin.org/critfix
reserved = \x00
I would write a patch for p2pool but I'm unsure which pack type to use to handle the set<int> and set<string> types which set_cancel and set_sub_ver use, respectively.
echris1
Full Member
***
Offline Offline

Activity: 124


View Profile
March 20, 2012, 08:43:35 AM
 #1464

What's wrong with how it is?  Think of the junk around it as the weird noise before emergency alerts on the radio (not sure what they are called inother countries) its just to get your attention for the message.  I'm pretty sure I would miss it if it was just one line of normal looking text somewhere.
Ente
Legendary
*
Offline Offline

Activity: 1834



View Profile
March 20, 2012, 09:30:02 AM
 #1465

I found no reference about how to see individual graphs for each connected miner?
P2pool tells me a "vip graph" password per miner or something..
My plan is to make one html page which embeds all graphs for the individual miners, to control everything on one glance.

A hint how to "unlock" individual graphs is enough already! :-)

Ente
echris1
Full Member
***
Offline Offline

Activity: 124


View Profile
March 20, 2012, 10:03:16 AM
 #1466

I found no reference about how to see individual graphs for each connected miner?
P2pool tells me a "vip graph" password per miner or something..
My plan is to make one html page which embeds all graphs for the individual miners, to control everything on one glance.

A hint how to "unlock" individual graphs is enough already! :-)

Ente

There are no individual graphs.  You can set each miner to a unique username, and use the VIP password to get something like this:



by going to http://<your p2pool nodes ip>:9332/graphs


Now, if anyone knows how to edit the order, or remove old names from these graphs, that would be great.
spiccioli
Legendary
*
Offline Offline

Activity: 1376

nec sine labore


View Profile
March 20, 2012, 10:46:11 AM
 #1467

I found no reference about how to see individual graphs for each connected miner?
P2pool tells me a "vip graph" password per miner or something..
My plan is to make one html page which embeds all graphs for the individual miners, to control everything on one glance.

A hint how to "unlock" individual graphs is enough already! :-)

Ente

There are no individual graphs.  You can set each miner to a unique username, and use the VIP password to get something like this:



by going to http://<your p2pool nodes ip>:9332/graphs


Now, if anyone knows how to edit the order, or remove old names from these graphs, that would be great.

VIP password is inside ./p2pool/data/bitcoin/vip_pass file

I think you cannot remove a miner from graphs, either you wait for graphs to scroll out data or you delete rrd.* files but this clears all data from your graphs and they start anew.

spiccioli.
Ente
Legendary
*
Offline Offline

Activity: 1834



View Profile
March 20, 2012, 10:55:09 AM
 #1468

There are no individual graphs.  You can set each miner to a unique username, and use the VIP password to get something like this:



by going to http://<your p2pool nodes ip>:9332/graphs

Now, if anyone knows how to edit the order, or remove old names from these graphs, that would be great.

Seems like your image isnt embedded here, the direct url does work though.
Thanks for that! I see, all miners are in one graph..
I have the global and local hashrate graphs, but with no individual miners combined in the local hashrate. And I didnt see an obvious place to put my VIP password in anyway.. Will have a look again at home.


Ah, I would love individual graphs for each miner.. Thats the last missing piece for my setup, to easily check if all miners behave well..
Any thoughts on this?

Ente
OggerMC
Member
**
Offline Offline

Activity: 93


View Profile
March 20, 2012, 11:58:31 AM
 #1469

i think something went wrong for me, my guiminer shows me right now 30 accapted shares, but my p2pool still says 0



anyone knows whats wrong?
spiccioli
Legendary
*
Offline Offline

Activity: 1376

nec sine labore


View Profile
March 20, 2012, 12:20:24 PM
 #1470

i think something went wrong for me, my guiminer shows me right now 30 accapted shares, but my p2pool still says 0



anyone knows whats wrong?

OggerMC,

read the line before Shares 0... do you have 250MHs ?

It says it takes, on average, 3 hours for every share.

See also p2p FAQ from 1st message in this thread.

spiccioli.

ps. guiminer is not the preferred miner for p2pool. Try with an up-to-date miner to see if things improve.
OggerMC
Member
**
Offline Offline

Activity: 93


View Profile
March 20, 2012, 12:40:26 PM
 #1471

so i bassicly have to wait...?

and when / how are payouts being made? it isnt stated in first / second post...
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
March 20, 2012, 12:44:06 PM
 #1472

so i bassicly have to wait...?

and when / how are payouts being made? it isnt stated in first / second post...

Payouts are made when a block is found based on the % of shares you have from the prior 24 hours worth of shares.

p2pool currently finds a block every 6 hours on average (although that can vary significantly).

p2pool.info has some good info on projected block completion times, your "cut" of the next block found (will be 0 until you find at least 1 share), history of blocks found and more.
Ente
Legendary
*
Offline Offline

Activity: 1834



View Profile
March 20, 2012, 01:02:42 PM
 #1473

i think something went wrong for me, my guiminer shows me right now 30 accapted shares, but my p2pool still says 0



anyone knows whats wrong?

[Gui-]Miner shows difficulty 1 solutions, which come every few seconds, so you can quickly see if things are working fine.

Shares in the p2pool sharechain have (currently) a difficulty around 650. These are displayed in the p2pool window, which you quoted.

Bitcoin-Blocks currently have a 1498294 difficulty.


So.. You mine away. Miner shows you all difficulty 1 blocks, just for your information. Once it finds a difficulty 650 block/solution, it is sent to your local p2pool copy. Whenever the whole p2pool network finds a Bitcoin block, you get a payment according to your portion of all found share blocks (in the last 24h).

So, expect to find share blocks around 650 times slower than the blocks your miner shows you :-)
And, expect your payments to climb in the first 24 hours, its after 24h that they kind of start to level out..

Ente
OggerMC
Member
**
Offline Offline

Activity: 93


View Profile
March 20, 2012, 01:18:00 PM
 #1474

alright thanks.

about the payment, is it send directly to my wallet? i mean, i didnt put an address for it anyway, like on deepbit or other pools. Thats what im unsure about.
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
March 20, 2012, 01:43:11 PM
 #1475

alright thanks.

about the payment, is it send directly to my wallet? i mean, i didnt put an address for it anyway, like on deepbit or other pools. Thats what im unsure about.

Yes it is sent directly to your wallet.

By default p2pool gets a new address from bitcoind (your wallet) each time it starts.  If you want to use a fixed address you can by using the -a command line argument.  Using a fixed address IMHO makes it easier to keep track of payments. 

There is no concept of "progress" in p2pool (or any mining) so you can restart with a fixed address at anytime.  It can be any address it doesn't need to be one from the bitcoind running.
NothinG
Hero Member
*****
Offline Offline

Activity: 560



View Profile
March 20, 2012, 01:51:54 PM
 #1476

There are no individual graphs.  You can set each miner to a unique username, and use the VIP password to get something like this:



by going to http://<your p2pool nodes ip>:9332/graphs

Now, if anyone knows how to edit the order, or remove old names from these graphs, that would be great.

Seems like your image isnt embedded here, the direct url does work though.
Thanks for that! I see, all miners are in one graph..
I have the global and local hashrate graphs, but with no individual miners combined in the local hashrate. And I didnt see an obvious place to put my VIP password in anyway.. Will have a look again at home.


Ah, I would love individual graphs for each miner.. Thats the last missing piece for my setup, to easily check if all miners behave well..
Any thoughts on this?

Ente
When you mine, the VIP password = your miner's password.
That's when your address shows up on the local pool data.

Ente
Legendary
*
Offline Offline

Activity: 1834



View Profile
March 20, 2012, 02:10:25 PM
 #1477

When you mine, the VIP password = your miner's password.
That's when your address shows up on the local pool data.

Aaaah! I would never have guessed that! Thank you!

Ente
ragnard
Member
**
Offline Offline

Activity: 66



View Profile
March 20, 2012, 03:38:44 PM
 #1478

Ah, I would love individual graphs for each miner.. Thats the last missing piece for my setup, to easily check if all miners behave well..
Any thoughts on this?

Ente

The RRDs are there to do this.  And, I have it on my list to dig into the code to implement as I too want individual graphs.  But, time is what I lack.  But, with the data there already, this is possible with not much work.
cabin
Full Member
***
Offline Offline

Activity: 205


View Profile
March 20, 2012, 07:18:59 PM
 #1479

Ah, I would love individual graphs for each miner.. Thats the last missing piece for my setup, to easily check if all miners behave well..
Any thoughts on this?

Ente

The RRDs are there to do this.  And, I have it on my list to dig into the code to implement as I too want individual graphs.  But, time is what I lack.  But, with the data there already, this is possible with not much work.

It looks like the graphs will be done in html/javascript going forward:

http://p2pool.hopto.org:9332/static/graphs.html

might be easier to improve. I've been meaning to take a look at them too.

1Cabinz1RSccAbFx2DikYomSKeMupy7M6V
Gabi
Legendary
*
Offline Offline

Activity: 1050


View Profile
March 20, 2012, 10:11:17 PM
 #1480

alright thanks.

about the payment, is it send directly to my wallet? i mean, i didnt put an address for it anyway, like on deepbit or other pools. Thats what im unsure about.
Yuo, p2pool get the address from the bitcoin client. If you notice when you start p2pool it tell you an address

As for shares, 1 p2pool share is like 600 difficulty 1 shares, so, be patient.
Pages: « 1 ... 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 [74] 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 ... 744 »
  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!