Commit Graph

7 Commits

Author SHA1 Message Date
Jędrzej Stuczyński 36ec2fef60 Extra argument to specify metrics websocket + long attribute (#448)
* Extra argument to specify metrics websocket + long attribute

* Default testnet values
2020-11-12 17:31:16 +00:00
Jędrzej Stuczyński 830a89cfd4 Explorer public folder being relative to the binary (#447)
* Explorer public folder being relative to the binary

* Qualifying the public mounting path

Co-authored-by: Dave <futurechimp@users.noreply.github.com>
2020-11-12 16:47:00 +00:00
Jędrzej Stuczyński a3d9149d2a Update main.js (#441)
* Update main.js

* Changed websocket port to 1648
2020-11-12 11:07:15 +00:00
Jędrzej Stuczyński 6a2412f5dd Spawning rocket as a blocking task (#440) 2020-11-12 10:46:08 +00:00
Jędrzej Stuczyński 3ef40035ad Passing validator base url as an argument (#439) 2020-11-12 09:48:06 +00:00
Jędrzej Stuczyński 0649593116 Bugfix/metrics fixes (#434)
* Updated dashboard html file

* Changed explorer to listen on the same port as old dashboard

* Using correct field names in js file

* Sending correct key in metrics
2020-11-11 11:37:16 +00:00
Jędrzej Stuczyński 818405982d Feature/explorer (#431)
* Initial commit of the new dashboard code.

* Periodically grabbing topology json

* Pulling file saving out into its own module

* Ignoring downloaded topology file

* Moved everything public into a public folder

* Refreshing the mixmining report

* Mounting static files from /public

* Including mixminiming report grabber

* Leaving the route in place to pick up later. It's not used right now.

* Removing json download from git

* Ignoring topology download

* Moving recurrent jobs in to a jobs module

* Adding websocket dependencies

* Starting to get client/server websocket functionality running.

* Fixing unused imports

* Separating client and server functionality a bit more cleanly

* WIP to sketch out the ws client and server a bit more

* Initial metrics broadcaster

* Import fixup

* Spawning rocket in tokio task

* Removed outdated comment

* removed the js file

Co-authored-by: Dave <futurechimp@users.noreply.github.com>
2020-11-11 09:43:33 +00:00