craigwatson / bitcoind-status

PHP application to display status and information from the Bitcoin node daemon.
https://odin.vikingserv.net
Apache License 2.0
82 stars 77 forks source link

Resolves division by zero error reporting INF% #36

Closed billz closed 6 years ago

billz commented 6 years ago

Great project Craig! Does exactly what I was looking for.

I noticed a minor issue in the server logs: PHP Warning: Division by zero in /var/www/html/php/functions.php which makes some nodes (mine included) report INF% for node height. The domain name change for Bitnodes was causing the curl request to fail.

No issues with the easybitcoin.php library but I updated it to the latest version.

craigwatson commented 6 years ago

Thanks :)