Pages:
Author

Topic: PHP Bitcoin Node Status Page - page 2. (Read 10034 times)

copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
March 23, 2015, 08:50:54 AM
#43
Apologies for the double-post, but I've also added a little Monday present - geolocation-based flags for both the node and peer IP addresses Smiley

Demo: https://loki.vikingserv.net
Nice! I already added something like that to my node, but it isn't as sophisticated, haha. Will update my node in a bit.

EDIT: Done. However, it seems that "Time Connected", "Last Send" and "Last Receive" doesn't work.
EDIT2: Your config.sample.php does not contain the "geolocate_peer_ip" option.
newbie
Activity: 28
Merit: 0
March 23, 2015, 08:49:16 AM
#42
Apologies for the double-post, but I've also added a little Monday present - geolocation-based flags for both the node and peer IP addresses Smiley

Demo: https://loki.vikingserv.net
newbie
Activity: 28
Merit: 0
March 23, 2015, 05:15:51 AM
#41
hi craig,

I noticed this site, some 1/2 a year or so ago and relocated it after seeing your topic here;

http://176.10.116.242/xbt_cgi/node_status.pl?sortfield=syncnode&sortdirection=1

this is something (the stats from bitcoind) that you could easily incorporate into what you have already, I'd think..

All done - see my node at https://loki.vikingserv.net Smiley

Code is also updated on GitHub Smiley
zvs
legendary
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
March 23, 2015, 01:33:59 AM
#40
Can this be used with other cryptocurrencies?

It can indeed, as long as they respond over RPC in the same way bitcoind does - I know for a fact that the page works with the LTC node, and should work for most altcoins.
hi craig,

I noticed this site, some 1/2 a year or so ago and relocated it after seeing your topic here;

http://176.10.116.242/xbt_cgi/node_status.pl?sortfield=syncnode&sortdirection=1

this is something (the stats from bitcoind) that you could easily incorporate into what you have already, I'd think..
legendary
Activity: 1512
Merit: 1012
March 21, 2015, 07:13:50 PM
#39
Can this be used with other cryptocurrencies?

It can indeed, as long as they respond over RPC in the same way bitcoind does - I know for a fact that the page works with the LTC node, and should work for most altcoins.

Ok, thank you Smiley I'll try fiddling with this in the next few days...
newbie
Activity: 28
Merit: 0
March 21, 2015, 06:38:14 PM
#38
Can this be used with other cryptocurrencies?

It can indeed, as long as they respond over RPC in the same way bitcoind does - I know for a fact that the page works with the LTC node, and should work for most altcoins.
legendary
Activity: 1512
Merit: 1012
March 21, 2015, 06:20:37 PM
#37
Can this be used with other cryptocurrencies?
newbie
Activity: 28
Merit: 0
March 21, 2015, 05:43:48 PM
#36
I've now added Travis CI testing, including PHP syntax checking and PEAR standards compliance - should hopefully make contributions easier Smiley
copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
March 16, 2015, 06:17:36 PM
#35
CraigWatson, will update my node right now and keep in the ribbon. Wink

EDIT: Done.
newbie
Activity: 28
Merit: 0
March 16, 2015, 06:11:32 PM
#34
Some more minor revisions:

I've reworked the CSS to be slightly flatter and more modern, and shipped with two different styles - "light" (default) and "dark" (viewable on my demo) - just edit config.php.

I've also added a "Fork me on GitHub" ribbon (toggleable via config.php) - I'd really appreciate it if everyone could keep the ribbon enabled to try and boost exposure for the code Smiley
sr. member
Activity: 542
Merit: 251
March 10, 2015, 08:35:59 PM
#33
This is a very interesting script thanks for making this. I am thinking about making a btc node because it has always been on my mind, but I never wanted to risk making one. Now I think I may make one just for the support of bitcoin.
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
March 10, 2015, 05:58:46 AM
#32
Yeah sure you can share the scripts with anyone. If you notice my name or link to my profile/node thats nice, but its not required. Best fitting license would probably be WTFPL or CC0. The little I wrote is public here -> http://213.165.91.169/whatdo.txt

Just a heads up though: I recently shared the complete collection of shell scripts and cronjobs with someone. Its currently not working even though they use the same Linux flavour. So you might have to look into rrdtool after all if you want something similar. Im currently[1] working on a ruby script that can feed several databases with a single request. Not sure where I will share it once its done, but Ill let you know somehow.


[1] a few lines a week, might take a while Sad
hero member
Activity: 770
Merit: 500
March 10, 2015, 05:34:21 AM
#31
It's pretty nice.
I'm going to see if I can get my router to point to my node and display the results.
newbie
Activity: 28
Merit: 0
March 10, 2015, 05:32:13 AM
#30
Is that supposed to be the size of the block chain? If so, you might want to  rephrase the label?

That's the amount of free disk space left on the node, so basically "the amount the blockchain can grow before I run out of space". Purely vanity and has no real purpose - but as with most things, can be controlled with a toggle switch in config.

I got the script for making graphs sent to me by Shorena, I could make it available if others want it too. Not sure if Shorena already made it available.

The graphs look nice, though I guess it's beyond the scope of this app for the moment - would be nice for a 2.0 release though! Would be interested to see what the code to generate the graphs is like - if you can check if Shorena is happy for the scripts to be made open source (a pre-requisite for the project) that would be awesome Smiley

It is possible to check your node on the leaderboard to see how you fare.

Nice, I may add this in future Smiley
full member
Activity: 196
Merit: 103
March 10, 2015, 05:16:14 AM
#29
Good work.

I noticed this "Free Disk Space: 19.39 GB" on https://loki.vikingserv.net/.

Is that supposed to be the size of the block chain? If so, you might want to  rephrase the label?

Also, shorena made some scripts, check these:
http://node.cryptowatch.com/
http://213.165.91.169/

I got the script for making graphs sent to me by Shorena, I could make it available if others want it too. Not sure if Shorena already made it available.

For those interested, there's also apparently a "high score list".

Check out these links:
https://getaddr.bitnodes.io/
https://getaddr.bitnodes.io/nodes/leaderboard/

It is possible to check your node on the leaderboard to see how you fare.
newbie
Activity: 28
Merit: 0
March 06, 2015, 02:40:43 PM
#28
Removed (by default) the remote port when displaying connected nodes.

As with most of the page's functionality, it's easily toggled via the config.php file Smiley
copper member
Activity: 3948
Merit: 2201
Verified awesomeness ✔
January 15, 2015, 07:57:35 AM
#27
Cheers for the comments and contributions - all are greatly appreciated Smiley
No problem Wink
newbie
Activity: 28
Merit: 0
January 15, 2015, 07:47:20 AM
#26
Thanks to a few more pull requests, we now have a few new features!

  • Can bypass the file-based cache system entirely -- please note that this could overload your Bitcoind with RPC calls, please use with caution!
  • Display if the node is running on testnet.
  • Display the currently running Bitcoind version

Cheers for the comments and contributions - all are greatly appreciated Smiley
newbie
Activity: 28
Merit: 0
January 11, 2015, 02:54:09 PM
#25
Also added: geolocation feature Smiley
newbie
Activity: 28
Merit: 0
January 11, 2015, 09:36:17 AM
#24
can you add FREE DISK SPACE ?

Code:
Free disk space:
    $bytes disk_free_space(".");
    
$si_prefix = array( 'B''KB''MB''GB''TB''EB''ZB''YB' );
    
$base 1024;
    
$class min((int)log($bytes $base) , count($si_prefix) - 1);
  
//  echo $bytes . '';
    
echo sprintf('%1.2f' $bytes pow($base,$class)) . ' ' $si_prefix[$class] . '';
?>

LIVE DEMO: http://btcaudio.eu/node/

Added, with feature switch Smiley
Pages:
Jump to: