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

Peer History #22

Closed BeZazz closed 8 years ago

BeZazz commented 8 years ago

I noticed in peercount.php

// Include EasyBitcoin library and set up connection require_once '/srv/www/bitcoind-status/php/easybitcoin.php'; $bitcoin = new Bitcoin($config['rpc_user'], $config['rpc_pass'], $config['rpc_host'], $config['rpc_port']);

The path to "easybitcoin.php" is hardcoded.

Also do you need to run "peercount.php"via a cron?

Thanks

craigwatson commented 8 years ago

Good spot, thanks! I'll get a fix for that committed shortly.

Yes, you'll need to run peercount.php and stats.php by cron (an example crontab line is in the Readme).

BeZazz commented 8 years ago

Ok, Thanks mate :)

craigwatson commented 8 years ago

This is now fixed, see the commit above :)