diff --git a/.gitignore b/.gitignore index e5dcf55..d080adb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ duinocoin/ node_modules/ config/ +dashboard/rewards*.json +dashboard/workers_*.json +dashboard/history*.json diff --git a/config/config.json b/config/config.json index 0dd6201..80f86db 100644 --- a/config/config.json +++ b/config/config.json @@ -6,6 +6,9 @@ "host": "0.0.0.0", "port": 6000, + "dashboard_port": 6030, + "historyMaxPoints": 480, + "historyMaxAgeHours": 24, "serverIP": "server.duinocoin.com", "serverPort": 2810, diff --git a/dashboard/rewards.json b/dashboard/rewards.json deleted file mode 100644 index 9e26dfe..0000000 --- a/dashboard/rewards.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/dashboard/static/index.html b/dashboard/static/index.html index d4cd73a..2833477 100644 --- a/dashboard/static/index.html +++ b/dashboard/static/index.html @@ -4,109 +4,172 @@
- - +- - Node statistics -
-- - Connections: - - 0 - -
-- - CPU usage: - - 0% - -
-- - RAM usage: - - 0% - -
-- - Workers: - - workers.json - -
-- ~ More data will be added here when Bila adds more api stuff ~ -
-- - History -
-
- Pulse pool (also named Kolka pool) is the first Duino-Coin mining node created by Bilaboz from the Duino team.
- It was launched at 6/07/2021 and helps in off-loading the master server from PC and ESP miners.
-
a Duino-Coin mining node