Sys beeeeer.org stats

Yes indeed, i went through every block and payout data and when it matched the user, set a few variables plus saved everything into raw_data (you never know! 8) ), i used 3-4 values from that raw_data that i’ve set specificly now and discard everything else afterwards :slight_smile:

Stats are spot on atm, right?

I have to donate some xpm to you man…you’ve done a great job.

Thanks for putting up the stats site. Sent a small donation your way.

Fixed the date cell, forgot that one in my last overhaul ^^ site is getting slow now, almost parsing 6k files on load ;D

[quote=“ivanlabrie, post:22, topic:364”]Stats are spot on atm, right?

I have to donate some xpm to you man…you’ve done a great job.[/quote]
Update is every 10 mins so…yes i guess 8)

Received, thanks :slight_smile:

[quote=“Sy, post:24, topic:364”]Fixed the date cell, forgot that one in my last overhaul ^^ site is getting slow now, almost parsing 6k files on load ;D

[quote=“ivanlabrie, post:22, topic:364”]Stats are spot on atm, right?

I have to donate some xpm to you man…you’ve done a great job.[/quote]
Update is every 10 mins so…yes i guess 8)

Received, thanks :)[/quote]
Are you using PHP to parse all this stuff out?

Yep

Yep[/quote]Are you doing it on each page load?

Is it broken? It does not seem to be updating. Might this be the result of the payout method change?

UPDATE: While the block details are not updating some of the numbers in the summary are changing, although I can’t verify they are doing so correctly. I can’t say they are not either.

Hey guys! I’m new here :slight_smile:

I can also confirm that it is not updating. My last block (where it stopped) was 191901

Yes, stuck at the same block here :slight_smile:

Confirmed, its hitting a timeout, looking into it right now.

Update 1:
The summarie seems to be counting fine though, its just the details view…

Update 2:
Fixed, Xolo messed up the block output a bit xD

i’ll provide you a serepate JSON interface asap
so you don’t have to parse the html garbage

[quote=“xolokram, post:32, topic:364”]i’ll provide you a serepate JSON interface asap
so you don’t have to parse the html garbage[/quote]

That would be awesome :slight_smile: no rush over the weekend though, im outa town.

ok here’s the “new” interface:
just add /raw to the url, e.g.
http://www.beeeeer.org/raw/payouts
http://www.beeeeer.org/raw/blocks
http://www.beeeeer.org/raw/block/193476
http://www.beeeeer.org/raw/payout/189813

glhf
try to point all your scripts to these URLs now

  • xolokram

[quote=“xolokram, post:34, topic:364”]ok here’s the “new” interface:
just add /raw to the url, e.g.
http://www.beeeeer.org/raw/payouts
http://www.beeeeer.org/raw/blocks
http://www.beeeeer.org/raw/block/193476
http://www.beeeeer.org/raw/payout/189813

glhf
try to point all your scripts to these URLs now

  • xolokram[/quote]

Nice but im on the jump to a wedding, will change saturday / monday - thanks in advance, looking good!

Update 1:
Sweet, this is WAY faster!

Update 2:
Changed my codebase to the new URLs and added caching, updating right now - will work on database integration over this week…i think ;D

Update 3:
And running again

Done with the old version, added some server stats at the bottom.

Update 15:26
Haha done with the basic database insert

Foreach done in 1269.29ms, added 596,219 rows.

Hi Sy,

a user named “topnetdeal” (see http://www.ppcointalk.org/index.php?topic=501.msg4613#msg4613 ) showed me, that your stats page is not using/parsing the correct values.

from the block information pages (JSON objects), you should use the “reward” field, not the “amount” field. as the “reward” field is the value of the found block minus the pool fee.

also: do you use rounded values to calculate the payouts with your own script?!?

  • xolokram

[quote=“xolokram, post:37, topic:364”]Hi Sy,

a user named “topnetdeal” (see http://www.ppcointalk.org/index.php?topic=501.msg4613#msg4613 ) showed me, that your stats page is not using/parsing the correct values.

from the block information pages (JSON objects), you should use the “reward” field, not the “amount” field. as the “reward” field is the value of the found block minus the pool fee.

also: do you use rounded values to calculate the payouts with your own script?!?

  • xolokram[/quote]

I round them at output, not for calculations - for payout i take block-> payout -> address , not payout -> add -> address - i’ll look into it in v2 with database support, its so much faster :smiley:

ok, then there’s something else ‘wrong’

/edit:
i’m really confused, when you check my page:
block -> payout is the same as payout -> add
payout -> prev is the same as (payout - 1) -> next
and
payout -> next is the same as (payout -> prev) + (payout -> add) (for all users that are not over the 3.01 payout barrier)

or am i missing something???

but this is not what you can see on your web frontend.

sorry for the double post

you’re counting the orphaned blocks as valid blocks. but their value is 0 as you can see in the payout info.
(the reward is not updated in the block info page once the confirmations are checked, it’s only visible in the payout info)

i’m sorry if there was a mistunderstanding regarding the block/payout information.

  • xolokram