Author

Topic: [4+ EH] Slush Pool (slushpool.com); Overt AsicBoost; World First Mining Pool - page 1023. (Read 4382894 times)

member
Activity: 112
Merit: 10

Did I mention "peanut gallery"?  If your genius is required, on something actually relevant to this thread, I'll ask for it.


You're kind of a jerk, huh?
newbie
Activity: 6
Merit: 0
AJbitcoin, maybe it makes sense to try modern browser like Firefox or Chrome (or Safari, Opera etc.)
They draw graphs without any problems.

Microsoft's "modern" IE9 technologically is about a 1-2 years behind others.
And IE8 is even worse.
Why use it?

Because it's what happens to be on the machine, and the code is broken, not the browser.

That is the point of the post, not to draw out a bunch of pencilnecks from the peanut gallery.

As far as Chrome goes, Google can go fsck themselves.


Internet Explorer is a terrible browser.
You should stop using it right away.

Did I mention "peanut gallery"?  If your genius is required, on something actually relevant to this thread, I'll ask for it.
member
Activity: 77
Merit: 10
Hey everyone, could anyone here help me with php an decoding json? Im trying to decode the json api url from mining.bitcoin.cz.

Here is what I have at the moment:

$string = '
    {
    "username": "someusername",
    "unconfirmed_reward": "0.08681793",
    "send_threshold": "0.01000000",
    "confirmed_reward": "0.02511418",

    "workers":
    {
    "bitcoinjol.jason-laptop": {"last_share": 1307389634, "score": "0", "hashrate": 0, "shares": 0, "alive": false},
    "bitcoinjol.david-laptop": {"last_share": 1307443495, "score": "1.7742", "hashrate": 24, "shares": 1, "alive": true},
    "bitcoinjol.pierre-pc": {"last_share": 1307441804, "score": "0", "hashrate": 0, "shares": 0, "alive": true},
    "bitcoinjol.testJol": {"last_share": 0, "score": "0", "hashrate": 0, "shares": 0, "alive": false}
    },
   
    "wallet": "asdasdjsadajdasjdsajasjdajdajs",
    "estimated_reward": "0.00131061"
    }'

;


$json_o = json_decode($string);
echo $json_o->username;


and this prints out "someusername" but I cant get it to print out the workers when I try:
echo $json_o->workers->someusername.jason-laptop;

I think that the "." or the "-" I am using are invalid?

I would like to be able to print out each worker and then the waller, username and rewards ect..
using arrays or these objects, either way. I have also tried splitting the $String on "," with explode, but cant get that to work nicely either.

If anyone could help me it would be much appretiated Smiley

jasrus(at)hotmail.co.za

What I usually do is take the result object and see if ARRAY or OBJECT is the data type of the branches:
Try this at the end of your code:

echo "
";
print_r($json_o);
echo "
";

To view the object.  It is possible that the workers section is passed as an array in the object. So it may be like this:

echo $json_o->workers['someusername.jason-laptop'];  //you do have 'bitcoinjol' as the username in the string above

Also the workers branch only consists of sub branches so the above probably needs to be:

echo $json_o->workers['someusername.jason-laptop']['last_share']; //if a multi-dimentional array
echo $json_o->workers->someusername.jason-laptop->last_share; //if a a full object path


Post the output of:

echo "
";
print_r($json_o);
echo "
";


if none of this helps.
(Dok)

Thanks so much, I got it
sr. member
Activity: 378
Merit: 250
Good lord, pool is at over 950 GH/s.  Slush, I know you've made some upgrades lately, but if things keep expanding at this rate, how many GH/sec or Getworks/second you think the server can take before we start seeing problems?
member
Activity: 112
Merit: 10
Slush,

I'm probably wrong, but I think I'm missing A payout. I received one at 6/7/11 @ 1:03 UTC, and I woke up at 13:00 UTC to only a confirmed reward of 0.05 BTC. Miners were going all night. What would be a good way to check?
newbie
Activity: 15
Merit: 0
Hey everyone, could anyone here help me with php an decoding json? Im trying to decode the json api url from mining.bitcoin.cz.

Here is what I have at the moment:

$string = '
    {
    "username": "someusername",
    "unconfirmed_reward": "0.08681793",
    "send_threshold": "0.01000000",
    "confirmed_reward": "0.02511418",

    "workers":
    {
    "bitcoinjol.jason-laptop": {"last_share": 1307389634, "score": "0", "hashrate": 0, "shares": 0, "alive": false},
    "bitcoinjol.david-laptop": {"last_share": 1307443495, "score": "1.7742", "hashrate": 24, "shares": 1, "alive": true},
    "bitcoinjol.pierre-pc": {"last_share": 1307441804, "score": "0", "hashrate": 0, "shares": 0, "alive": true},
    "bitcoinjol.testJol": {"last_share": 0, "score": "0", "hashrate": 0, "shares": 0, "alive": false}
    },
   
    "wallet": "asdasdjsadajdasjdsajasjdajdajs",
    "estimated_reward": "0.00131061"
    }'

;


$json_o = json_decode($string);
echo $json_o->username;


and this prints out "someusername" but I cant get it to print out the workers when I try:
echo $json_o->workers->someusername.jason-laptop;

I think that the "." or the "-" I am using are invalid?

I would like to be able to print out each worker and then the waller, username and rewards ect..
using arrays or these objects, either way. I have also tried splitting the $String on "," with explode, but cant get that to work nicely either.

If anyone could help me it would be much appretiated Smiley

jasrus(at)hotmail.co.za

What I usually do is take the result object and see if ARRAY or OBJECT is the data type of the branches:
Try this at the end of your code:

echo "
";
print_r($json_o);
echo "
";

To view the object.  It is possible that the workers section is passed as an array in the object. So it may be like this:

echo $json_o->workers['someusername.jason-laptop'];  //you do have 'bitcoinjol' as the username in the string above

Also the workers branch only consists of sub branches so the above probably needs to be:

echo $json_o->workers['someusername.jason-laptop']['last_share']; //if a multi-dimentional array
echo $json_o->workers->someusername.jason-laptop->last_share; //if a a full object path


Post the output of:

echo "
";
print_r($json_o);
echo "
";


if none of this helps.
(Dok)
hero member
Activity: 927
Merit: 1000
฿itcoin ฿itcoin ฿itcoin
AJbitcoin, maybe it makes sense to try modern browser like Firefox or Chrome (or Safari, Opera etc.)
They draw graphs without any problems.

Microsoft's "modern" IE9 technologically is about a 1-2 years behind others.
And IE8 is even worse.
Why use it?

Because it's what happens to be on the machine, and the code is broken, not the browser.

That is the point of the post, not to draw out a bunch of pencilnecks from the peanut gallery.

As far as Chrome goes, Google can go fsck themselves.


Internet Explorer is a terrible browser.
You should stop using it right away.
legendary
Activity: 1386
Merit: 1097
Hi slush,

Just joined a couple of days ago.  Graphs have not worked for me on IE8 or an ancient Netscape  Haven't tried Firefox.


I'm using javascript plotting library which has no IE8 support. Will check it soon if they fixed this issue...

Quote
Also, small nitpick, but offered in a helpful spirit, "cumulative" has one "m".

Fixed, thanks Smiley
newbie
Activity: 6
Merit: 0
AJbitcoin, maybe it makes sense to try modern browser like Firefox or Chrome (or Safari, Opera etc.)
They draw graphs without any problems.

Microsoft's "modern" IE9 technologically is about a 1-2 years behind others.
And IE8 is even worse.
Why use it?

Because it's what happens to be on the machine, and the code is broken, not the browser.

That is the point of the post, not to draw out a bunch of pencilnecks from the peanut gallery.

As far as Chrome goes, Google can go fsck themselves.

newbie
Activity: 2
Merit: 0
$9 for two pieces, unbelievable. Shocked
newbie
Activity: 58
Merit: 0
AJbitcoin, maybe it makes sense to try modern browser like Firefox or Chrome (or Safari, Opera etc.)
They draw graphs without any problems.

Microsoft's "modern" IE9 technologically is about a 1-2 years behind others.
And IE8 is even worse.
Why use it?
newbie
Activity: 6
Merit: 0
Hi slush,

Just joined a couple of days ago.  Graphs have not worked for me on IE8 or an ancient Netscape  Haven't tried Firefox.

Turning on script debugging in IE8, I get:

Line: 554
Error: 'window.G_vmlCanvasManager' is null or not an object

Also, small nitpick, but offered in a helpful spirit, "cumulative" has one "m".

Cheers.
legendary
Activity: 1386
Merit: 1097
Interesting stats...



Mike, how old is this screenshot? You noticed that 'it was maybe with xxx ghash/s', so looks like you had to find that in memory... I'm curious because I have one teoretical tip for race condition in total share calculation, but it is very unlikely that it will ever happen, unless there is some problem with database. And pool had some database problems in history...

In all cases, this is just cosmetic glitch, as only "confirmed reward"  is really important. Total reward is just 'in memory' calculation for web page...
legendary
Activity: 1386
Merit: 1097
Btw today we have new difficulty (567,358), so we can expect longer rounds (exactly as current one)...
More 3 hour long rounds? Oh the joy.  Smiley

Yes, that's insane, but fortunately we have few quick rounds around, so it average out Smiley.
newbie
Activity: 5
Merit: 0
Btw today we have new difficulty (567,358), so we can expect longer rounds (exactly as current one)...
More 3 hour long rounds? Oh the joy.  Smiley

legendary
Activity: 1386
Merit: 1097
Slush, do you think it can be some kind of regularity in that 4 blocks found in a row at a lightning speed?
And those found some time ago?
Maybe it can be found and used to generate blocks faster?

Smiley no, it is just probability.

I'm going to restart load balancer again, we have allowed even higher loads from linode. It will be <5min outage. I'm also finishing next release which will save a ton of bandwidth.

Update: restarted, outage was under 2 minutes. Sorry for troubles.
newbie
Activity: 58
Merit: 0
Slush, do you think it can be some kind of regularity in that 4 blocks found in a row at a lightning speed?
And those found some time ago?
Maybe it can be found and used to generate blocks faster?
legendary
Activity: 1386
Merit: 1097
Btw today we have new difficulty (567,358), so we can expect longer rounds (exactly as current one)...
sr. member
Activity: 252
Merit: 251
Damn. Didn't notice that, must be a record since the 17 second round about a week ago.

Prob. just bad luck then. First come first serve on shares.
hero member
Activity: 927
Merit: 1000
฿itcoin ฿itcoin ฿itcoin
Earnings for block #5195 -66%?
No, it was a 33 second round, yes 33 seconds!
You didn't submit a large amount of shares in that short time so your earnings will be smaller.
Jump to: