javascript stats for p2pool
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
img
js
README
dashboard.html
favicon.ico
minimal.html

README

Usage:
==================================================================
1. unzip or clone to any directory
2. open dashboard.html (or minimal)
3. type in the address of your p2pool server
4. hit enter

Browser Compatibility:
==================================================================
Firefox -- working
Chrome  -- working (no cookies, see below notes)
Opera   -- zoom property in jquery causing failure

Notes:
==================================================================
Preferences such as refresh time, your p2pool address,show/hide 3d graph are stored in the browser cookies. If you have cookies disabled then:
Change the following lines in p2cool.js to skip ip input screen permanently
//var li = get_cookie('LocalIP');
var li = "yourp2pool:9332";

Peers are displayed:	outgoing(incoming)
Shares are displayed:	shared/stale

Right-arrow key on the first page attempts to connect to the specified address. If you've put the address in the field before and your browser remembered the field down > right will connect. Protip: use the delete key on old/invalid auto-fill entries.

On the 3d Graph:
-each point of speed is an average of n number of records. n is set with the spinner
-no Z "flattens" to time/speed.

Refresh time and 3d graph spinners work with middle mouse too.

Console is cleared after 200 calls to writeConsole() to reduce memory leakage[if(cbfr>200)]. Other objects might also need cleanup.

jQuery:
-currently the full version 1.7.1 is being used locally on the dashboard
-the online google version and minimal version are commented in dashboard.html, feel free to switch


==================================================================
donations to p2pool miners:
https://en.bitcoin.it/wiki/P2Pool#Donating_to_P2Pool_miners