|
CraigWatson (OP)
Newbie
Offline
Activity: 28
Merit: 0
|
|
March 23, 2015, 01:49:16 PM |
|
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 Demo: https://loki.vikingserv.net
|
|
|
|
Mitchell
Staff
Legendary
Offline
Activity: 4102
Merit: 2301
Verified awesomeness ✔
|
|
March 23, 2015, 01:50:54 PM |
|
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 Demo: https://loki.vikingserv.netNice! 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.
|
| | | . Duelbits | | | ▄████▄▄ ▄█████████▄ ▄█████████████▄ ▄██████████████████▄ ▄████▄▄▄█████████▄▄▄███▄ ▄████▐▀▄▄▀▌██▄█▄██▐▀▄▄▀▌███ ██████▀▀▀▀████▀███▀▀▀▀█████ ▐████████████■▄▄▄■██████████▀ ▐██████████████████████████▀ ██████████████████████████▀ ▀███████████████████████▀ ▀███████████████████▀ ▀███████████████▀ | | | | | . ▄ ▄▄▀▀▀▀▄▄ ▄▀▀▄ █ █ ▀▄ █ ▄█▄ ▀▄ █ ▄▀ ▀▄ ▀█▀ ▄▀ ▀█▄▄▄▀▀ ▀ ▄▀ ▄▀ ▄▀
Live Games | | ▄▄▀▀▀▀▀▀▀▄▄ ▄▀ ▄▄▀▀▀▀▀▄▄ ▀▄ ▄▀ █ ▄ █ ▄ █ ▀▄ █ █ ▀ ▀ █ █ ▄▄▄ █ ▀▀▀▀▀▀▀▀▀▀▀▀▀ █ █ █ █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ █▄█ █ ▀▀█ ▀▀█ ▀▀█ █ █▄█
Slots | | . ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄ █ ▄▄ █ ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄ █ █ ▄▄ █ █ █ █ █ █ ▄▀▀▄▀▀▄ █ █ █ ▀▄ ▄▀ █ █
Blackjack | | | | █▀▀▀▀▀█▄▄▄ ▀████▄▄ ██████▄ ▄▄▄▄▄▄▄▄█▀ ▀▀█ ████████▄ █ █████████▄ █ ██████████▄ ▄██ █████████▀▀▀█▄▄████ ▀▀███▀▀ ████ █ ███ █ █▀ ▄█████▄▄▄ ▄▄▀▀ ███████▀▀▀ | | | | | | | | | | [ Đ ][ Ł ] AVAILABLE NOW | |
Advertisements are not endorsed by me.
|
|
|
CraigWatson (OP)
Newbie
Offline
Activity: 28
Merit: 0
|
|
March 23, 2015, 02:22:39 PM |
|
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.
Re: EDIT1: You may need to refresh your cache. The data comes from the getinfo() RPC call, so I'd suggest turning on debug mode and checking the output inside the HTML comment. Re: EDIT2 - Strange, It's in the version on GitHub here: https://github.com/craigwatson/bitcoind-status/blob/master/php/config.sample.php#L31
|
|
|
|
Mitchell
Staff
Legendary
Offline
Activity: 4102
Merit: 2301
Verified awesomeness ✔
|
|
March 23, 2015, 04:25:31 PM |
|
1. I've cleared my cache multiple times, but that didn't the problem. What is the version of your bitcoind? 2. And I guess I fucked up the pull than, my bad!
|
| | | . Duelbits | | | ▄████▄▄ ▄█████████▄ ▄█████████████▄ ▄██████████████████▄ ▄████▄▄▄█████████▄▄▄███▄ ▄████▐▀▄▄▀▌██▄█▄██▐▀▄▄▀▌███ ██████▀▀▀▀████▀███▀▀▀▀█████ ▐████████████■▄▄▄■██████████▀ ▐██████████████████████████▀ ██████████████████████████▀ ▀███████████████████████▀ ▀███████████████████▀ ▀███████████████▀ | | | | | . ▄ ▄▄▀▀▀▀▄▄ ▄▀▀▄ █ █ ▀▄ █ ▄█▄ ▀▄ █ ▄▀ ▀▄ ▀█▀ ▄▀ ▀█▄▄▄▀▀ ▀ ▄▀ ▄▀ ▄▀
Live Games | | ▄▄▀▀▀▀▀▀▀▄▄ ▄▀ ▄▄▀▀▀▀▀▄▄ ▀▄ ▄▀ █ ▄ █ ▄ █ ▀▄ █ █ ▀ ▀ █ █ ▄▄▄ █ ▀▀▀▀▀▀▀▀▀▀▀▀▀ █ █ █ █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ █▄█ █ ▀▀█ ▀▀█ ▀▀█ █ █▄█
Slots | | . ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄ █ ▄▄ █ ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄ █ █ ▄▄ █ █ █ █ █ █ ▄▀▀▄▀▀▄ █ █ █ ▀▄ ▄▀ █ █
Blackjack | | | | █▀▀▀▀▀█▄▄▄ ▀████▄▄ ██████▄ ▄▄▄▄▄▄▄▄█▀ ▀▀█ ████████▄ █ █████████▄ █ ██████████▄ ▄██ █████████▀▀▀█▄▄████ ▀▀███▀▀ ████ █ ███ █ █▀ ▄█████▄▄▄ ▄▄▀▀ ███████▀▀▀ | | | | | | | | | | [ Đ ][ Ł ] AVAILABLE NOW | |
Advertisements are not endorsed by me.
|
|
|
Mitchell
Staff
Legendary
Offline
Activity: 4102
Merit: 2301
Verified awesomeness ✔
|
|
April 01, 2015, 07:54:30 AM |
|
Well, I just pulled again, removed everything but my config, redid my config and now it works. I guess I fucked it up somewhere along the line.
|
| | | . Duelbits | | | ▄████▄▄ ▄█████████▄ ▄█████████████▄ ▄██████████████████▄ ▄████▄▄▄█████████▄▄▄███▄ ▄████▐▀▄▄▀▌██▄█▄██▐▀▄▄▀▌███ ██████▀▀▀▀████▀███▀▀▀▀█████ ▐████████████■▄▄▄■██████████▀ ▐██████████████████████████▀ ██████████████████████████▀ ▀███████████████████████▀ ▀███████████████████▀ ▀███████████████▀ | | | | | . ▄ ▄▄▀▀▀▀▄▄ ▄▀▀▄ █ █ ▀▄ █ ▄█▄ ▀▄ █ ▄▀ ▀▄ ▀█▀ ▄▀ ▀█▄▄▄▀▀ ▀ ▄▀ ▄▀ ▄▀
Live Games | | ▄▄▀▀▀▀▀▀▀▄▄ ▄▀ ▄▄▀▀▀▀▀▄▄ ▀▄ ▄▀ █ ▄ █ ▄ █ ▀▄ █ █ ▀ ▀ █ █ ▄▄▄ █ ▀▀▀▀▀▀▀▀▀▀▀▀▀ █ █ █ █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ █▄█ █ ▀▀█ ▀▀█ ▀▀█ █ █▄█
Slots | | . ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄ █ ▄▄ █ ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄ █ █ ▄▄ █ █ █ █ █ █ ▄▀▀▄▀▀▄ █ █ █ ▀▄ ▄▀ █ █
Blackjack | | | | █▀▀▀▀▀█▄▄▄ ▀████▄▄ ██████▄ ▄▄▄▄▄▄▄▄█▀ ▀▀█ ████████▄ █ █████████▄ █ ██████████▄ ▄██ █████████▀▀▀█▄▄████ ▀▀███▀▀ ████ █ ███ █ █▀ ▄█████▄▄▄ ▄▄▀▀ ███████▀▀▀ | | | | | | | | | | [ Đ ][ Ł ] AVAILABLE NOW | |
Advertisements are not endorsed by me.
|
|
|
CraigWatson (OP)
Newbie
Offline
Activity: 28
Merit: 0
|
|
August 14, 2015, 11:23:19 PM |
|
Just a quick bump - since my last update there's been a couple of minor improvements to the status page. It can now report the bitcoin daemon uptime (though only on Linux systems), and you can also toggle displaying the node's IP off altogether. As always, tips/comments/pull requests are appreciated
|
|
|
|
CraigWatson (OP)
Newbie
Offline
Activity: 28
Merit: 0
|
|
December 01, 2015, 08:48:48 AM |
|
Hi Craig, Thanks for putting this together. Could you explain the few steps after it's downloaded from Github, where do I put the folder (or contents)?
Typically, you'll need to put the folder in /var/www on your server - this is normally where Apache serves content from. That said, you'll need to check the Apache configuration as it can vary from system to system. You can also change Apache's configuration to serve content from a totally different directory (e.g. /srv/www) as long as the filesystem permissions allow Apache read access. Apache will also need write access to wherever you configure it to place the cache files - I've set the default to be /tmp but this is cleared after every reboot, so it may not be appropriate in all cases.
|
|
|
|
shorena
Copper Member
Legendary
Offline
Activity: 1498
Merit: 1540
No I dont escrow anymore.
|
|
December 01, 2015, 09:28:22 AM |
|
Did this break your live demo? Warning: require_once(./php/config.php): failed to open stream: No such file or directory in /srv/www/bitcoind-status/index.php on line 12
Fatal error: require_once(): Failed opening required './php/config.php' (include_path='.:/usr/share/php:/usr/share/pear') in /srv/www/bitcoind-status/index.php on line 12
|
Im not really here, its just your imagination.
|
|
|
CraigWatson (OP)
Newbie
Offline
Activity: 28
Merit: 0
|
|
December 01, 2015, 06:30:44 PM |
|
Did this break your live demo? Warning: require_once(./php/config.php): failed to open stream: No such file or directory in /srv/www/bitcoind-status/index.php on line 12
Fatal error: require_once(): Failed opening required './php/config.php' (include_path='.:/usr/share/php:/usr/share/pear') in /srv/www/bitcoind-status/index.php on line 12
Apologies - I reinstalled my servers a while back. The whole server is Puppetised and the status page config isn't (or at least wasn't) so it got missed - good spot! I've temporarily stopped bitcoind on the boxes as it was making them quite swappy. I've also added a slightly nicer error message when the config file isn't found, so it doesn't fall through to the PHP error.
|
|
|
|
^.^
Member
Offline
Activity: 81
Merit: 10
|
|
December 02, 2015, 12:04:52 AM |
|
Be nice if I could run a version on windows
|
|
|
|
CraigWatson (OP)
Newbie
Offline
Activity: 28
Merit: 0
|
|
December 02, 2015, 10:22:28 AM |
|
Be nice if I could run a version on windows You should be able to run this on Windows - as long as you have PHP with the curl extension installed, plus a compatible webserver such as Apache. The communication with bitcoind is done via RPC so there's no underlying Linux system calls done for the core functionality. The only OS-level Linux commands run are to get various system stats like disk usage, daemon uptime etc.
|
|
|
|
CraigWatson (OP)
Newbie
Offline
Activity: 28
Merit: 0
|
|
January 07, 2016, 05:22:24 PM |
|
OK, apologies for the double-post and bump, but in the interest of keeping the thread updated, I have made the following minor changes to the status page (thanks to Audun Larsen for the pull requests!): - Peer Geolocation: Country flag now displays the full country name on mouseover
- Peer List: You can now ignore/filter the peer list by IP (in addition to the existing feature to ignore all Tor peers)
- Peer List: Peers now have an inbound/outbound connection identifier
- Peer List: Peer connected time and last send/receive are now relative times (i.e. "x minutes", rather than absolute timestamps
- Bitnodes API: Corrected the Bitnodes API URL (removing the getaddr part which is no longer used)
- Settings: You can now hard-code the PHP timezone if you don't have it set in php.ini
|
|
|
|
Mitchell
Staff
Legendary
Offline
Activity: 4102
Merit: 2301
Verified awesomeness ✔
|
|
January 07, 2016, 06:13:30 PM |
|
No need to apologize, as you are allowed to bump your own thread, as long as there is 24 hours between your previous post and the new one.
|
| | | . Duelbits | | | ▄████▄▄ ▄█████████▄ ▄█████████████▄ ▄██████████████████▄ ▄████▄▄▄█████████▄▄▄███▄ ▄████▐▀▄▄▀▌██▄█▄██▐▀▄▄▀▌███ ██████▀▀▀▀████▀███▀▀▀▀█████ ▐████████████■▄▄▄■██████████▀ ▐██████████████████████████▀ ██████████████████████████▀ ▀███████████████████████▀ ▀███████████████████▀ ▀███████████████▀ | | | | | . ▄ ▄▄▀▀▀▀▄▄ ▄▀▀▄ █ █ ▀▄ █ ▄█▄ ▀▄ █ ▄▀ ▀▄ ▀█▀ ▄▀ ▀█▄▄▄▀▀ ▀ ▄▀ ▄▀ ▄▀
Live Games | | ▄▄▀▀▀▀▀▀▀▄▄ ▄▀ ▄▄▀▀▀▀▀▄▄ ▀▄ ▄▀ █ ▄ █ ▄ █ ▀▄ █ █ ▀ ▀ █ █ ▄▄▄ █ ▀▀▀▀▀▀▀▀▀▀▀▀▀ █ █ █ █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ █▄█ █ ▀▀█ ▀▀█ ▀▀█ █ █▄█
Slots | | . ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄ █ ▄▄ █ ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▄ █ █ ▄▄ █ █ █ █ █ █ ▄▀▀▄▀▀▄ █ █ █ ▀▄ ▄▀ █ █
Blackjack | | | | █▀▀▀▀▀█▄▄▄ ▀████▄▄ ██████▄ ▄▄▄▄▄▄▄▄█▀ ▀▀█ ████████▄ █ █████████▄ █ ██████████▄ ▄██ █████████▀▀▀█▄▄████ ▀▀███▀▀ ████ █ ███ █ █▀ ▄█████▄▄▄ ▄▄▀▀ ███████▀▀▀ | | | | | | | | | | [ Đ ][ Ł ] AVAILABLE NOW | |
Advertisements are not endorsed by me.
|
|
|
calkob
|
|
January 08, 2016, 04:52:25 PM |
|
Very good, wish i had the skills to do that....... well done sir Thats a great idea for a website, A site where nodes could register and receive donations from bitcoin users. or a node pool where donations are spread among nodes depending on uptime.... maybe that already exists ?
|
|
|
|
|
duel007
Newbie
Offline
Activity: 4
Merit: 0
|
|
September 17, 2016, 04:37:16 PM |
|
This thing works great once I got everything worked out with the settings!
Thanks for creating and maintaining it.
|
|
|
|
Canoeboy
Newbie
Offline
Activity: 2
Merit: 0
|
|
September 18, 2016, 03:19:08 PM |
|
Is this good for php 7.x (I'm running 7.0.11) ?
|
|
|
|
CraigWatson (OP)
Newbie
Offline
Activity: 28
Merit: 0
|
|
September 18, 2016, 03:57:27 PM |
|
Is this good for php 7.x (I'm running 7.0.11) ?
This does indeed work with PHP7, my test node is running 7.0.10
|
|
|
|
CraigWatson (OP)
Newbie
Offline
Activity: 28
Merit: 0
|
|
January 14, 2017, 08:43:50 AM |
|
Thread bump and feature update, you can now configure extra node types to graph via an array in the config file See my node for an example (I've added breadwallet and bither clients to the default Core/Classic/BitcoinJ set).
|
|
|
|
|