Pages:
Author

Topic: Aggregated view of important Block Explorer data (Read 2231 times)

newbie
Activity: 11
Merit: 0
Any help? Anybody?
newbie
Activity: 11
Merit: 0
The other problem I've discovered after looking at it for a bit, is that i cant think of a way to make it look at the latest block (and I'm not going to use SQL because I want it to be as fast  as possible).
https://blockexplorer.com/q/latesthash
Will give you the hash and you then know the link, for the raw block link is just:
http://blockexplorer.com/rawblock/latesthash

Ok, that should work, but what about parsing it, how do I do that?
hero member
Activity: 672
Merit: 500
BitLotto - best odds + best payouts + cheat-proof
The other problem I've discovered after looking at it for a bit, is that i cant think of a way to make it look at the latest block (and I'm not going to use SQL because I want it to be as fast  as possible).
https://blockexplorer.com/q/latesthash
Will give you the hash and you then know the link, for the raw block link is just:
http://blockexplorer.com/rawblock/latesthash
newbie
Activity: 11
Merit: 0
How about date of last block too?

Not really sure how i would do this, the page uses data pulled directly from blockexplorer.com/q, it just organizes and displays it efficiently.
You could, get latest block hash then parse it's page like:
http://blockexplorer.com/rawblock/000000000000012e9924c4628a8cf8f2f2cad86192c4dcb7175e3f91eb0fc317
and get the time and then convert to UTC. Trickier but probably interesting to figure out!  Wink

The other problem I've discovered after looking at it for a bit, is that i cant think of a way to make it look at the latest block (and I'm not going to use SQL because I want it to be as fast  as possible).
hero member
Activity: 672
Merit: 500
BitLotto - best odds + best payouts + cheat-proof
How about date of last block too?

Not really sure how i would do this, the page uses data pulled directly from blockexplorer.com/q, it just organizes and displays it efficiently.
You could, get latest block hash then parse it's page like:
http://blockexplorer.com/rawblock/000000000000012e9924c4628a8cf8f2f2cad86192c4dcb7175e3f91eb0fc317
and get the time and then convert to UTC. Trickier but probably interesting to figure out!  Wink
newbie
Activity: 11
Merit: 0
How about date of last block too?

Not really sure how i would do this, the page uses data pulled directly from blockexplorer.com/q, it just organizes and displays it efficiently.
hero member
Activity: 672
Merit: 500
BitLotto - best odds + best payouts + cheat-proof
How about date of last block too?
newbie
Activity: 11
Merit: 0
Changed the layout of the page to make it more compact and readable
newbie
Activity: 11
Merit: 0
Modern exploits are FAR more likely to use stupidity of the user rather than weaknesses in the browser.

Not looking to start a platform argument, just saying it makes a lot less difference now than it used to.


To be fair, it was mostly because Microshaft likes to think that they alone dictate Internet standards and that Internet Explorer has never really conformed to them properly

I like it  Cool


Pretty simple.

Thanks, I'm going to try to continue to improve it over time, if anyone has any feature requests I am fully open to see what i can do Smiley
member
Activity: 70
Merit: 18
Modern exploits are FAR more likely to use stupidity of the user rather than weaknesses in the browser.

Not looking to start a platform argument, just saying it makes a lot less difference now than it used to.
newbie
Activity: 28
Merit: 0
I like it  Cool


Pretty simple.

Using chrome...just saying..
newbie
Activity: 11
Merit: 0
Now it only yells at you if you're using Internet Explorer
Grin Funny. What does it say? I won't ever touch the internet with that thing! LOL.

Why are you working with Bitcoin in Internet Explorer?!?!?!?!


New changes:

Fixed probability (the number is now multiplied by 100)

Cheers!
full member
Activity: 146
Merit: 103
There is an error in your script where you output the probability of a single hash getting a block.  You add a % to the end of the number without multiplying it by 100.

The probability of flipping a coin and turning up heads is: .5
The percent change of flipping a coin and turning up heads is 50% (.5 * 100)

Either take away the percentage sign or multiply the probability by 100.
full member
Activity: 146
Merit: 103
Umm..why does it say "You are using a browser that is actually secure Smiley"?

Sure it's great, and I try to stay secure, but I'm wondering why are you testing that? What happens when someone visits and it's not?

OP said he learned PHP for this project, one of the fun things to do when learning PHP is to test the User-Agent
hero member
Activity: 672
Merit: 500
BitLotto - best odds + best payouts + cheat-proof
Now it only yells at you if you're using Internet Explorer
Grin Funny. What does it say? I won't ever touch the internet with that thing! LOL.
newbie
Activity: 11
Merit: 0
Ok, updated it

Changes:

Fixed spelling error as noted above
Now shows how much the difficulty will change
Now it only yells at you if you're using Internet Explorer
XIU
member
Activity: 84
Merit: 10
Umm..why does it say "You are using a browser that is actually secure Smiley"?

Sure it's great, and I try to stay secure, but I'm wondering why are you testing that? What happens when someone visits and it's not?

That was more me bashing Internet Explorer than anything, I was planing to remove it when i update it.

Well you could still use it to see if the browser version isn't the latest version or something Smiley
newbie
Activity: 11
Merit: 0
Umm..why does it say "You are using a browser that is actually secure Smiley"?

Sure it's great, and I try to stay secure, but I'm wondering why are you testing that? What happens when someone visits and it's not?

That was more me bashing Internet Explorer than anything, I was planing to remove it when i update it.

One typo "The avarage time" Smiley

Noted Smiley
XIU
member
Activity: 84
Merit: 10
One typo "The avarage time" Smiley
hero member
Activity: 672
Merit: 500
BitLotto - best odds + best payouts + cheat-proof
Umm..why does it say "You are using a browser that is actually secure Smiley"?

Sure it's great, and I try to stay secure, but I'm wondering why are you testing that? What happens when someone visits and it's not?
Pages:
Jump to: