Commit Graph

44 Commits

Author SHA1 Message Date
Maciej Hirsz 98cd3cfa12 Fix a panic in actix-web normalize middleware (#294)
* Fix a panic in actix-web normalize middleware

* Cleanup dependencies
2020-10-29 19:46:11 +01:00
Maciej Hirsz 0ff63abf35 Bump dependencies (#293) 2020-10-26 19:57:51 +01:00
Maciej Hirsz a4c34d4a6c Simplify routes 2020-10-01 15:47:16 +02:00
Maciej Hirsz 73d0bfbc0a Fix typo 2020-09-30 15:27:09 +02:00
Maciej Hirsz b55dfa022a Clean unnecessary changes and comments 2020-09-29 19:20:53 +02:00
Maciej Hirsz 9e4a0d938e Clean up Cargo.toml 2020-09-29 19:17:16 +02:00
Maciej Hirsz 8bf1020c16 Finally working 2020-09-29 19:16:28 +02:00
Maciej Hirsz 4a5bafcd41 WIP 2020-09-25 14:03:35 +02:00
Roman Borschel a65250118e Update backend/src/node.rs 2020-09-14 17:05:36 +02:00
Roman Borschel 5ecd6e2c46 Update backend/src/node.rs
Co-authored-by: Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com>
2020-09-14 17:04:38 +02:00
Roman S. Borschel d8ae36dc34 Further decouple SystemInterval values. 2020-09-14 11:19:43 +02:00
Maciej Hirsz 530132a3bb Fix iplocate cerificates (#283) 2020-08-26 14:17:53 +02:00
Maciej Hirsz 0f13c76fe1 Log locate errors (#282) 2020-08-26 09:34:35 +02:00
Maciej Hirsz 390a5a36f4 Log remote IP (#281) 2020-08-25 18:10:32 +02:00
Maciej Hirsz a721cc4e42 Cut metrics (#280) 2020-08-21 17:01:39 +02:00
Maciej Hirsz 525f95b92a Hide unknown messages in production (#275) 2020-08-04 13:04:46 +02:00
Maciej Hirsz 793c759728 Update Rust dependencies 2020-07-29 12:09:27 +02:00
Maciej Hirsz 4b29a2afa2 Pin merged Polkadot chain (#272) 2020-07-21 17:39:38 +02:00
Chevdor 615feb2af0 Better docker image for the backend (#245)
* Ignore vscode settings

* Add Dockerfile for the backend

* Shrink the docker image for the backend a little more

- fix some doc
- switch the rust static builder base image to nightly
- switch 2 stage base image
- remove version label

* Switch second stage base image to scratch

* Switch to the in-house base image

* Update README.md

Co-authored-by: Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com>
2020-05-27 09:08:40 +02:00
Chevdor 8ed8d01426 Documentation (#259)
* Documentation

- bump up frontend version (to trigger the CI)
- bump up the backend version (to trigger the CI)
- add some docker related doc
- add CI badges

* Fix CI step name

* Add screenshot
2020-04-24 12:49:52 +02:00
Chevdor 2c8e8ed7d3 Add clap support (#247)
* Add clap support

* Version bump

* Switch to using a single SokectAddr
2020-04-06 16:54:07 +02:00
Chevdor b9853be186 Listen by default to the local interface and allows changing it (#246) 2020-03-31 15:53:16 +02:00
Maciej Hirsz 85b7809533 Force Kusama CC3 nodes into Kusama chain (#235) 2020-03-19 17:10:43 +01:00
Maciej Hirsz d492b85091 Aggregate chains by network_id (#234)
* Aggregate chains by network_id

* Fix network_id handling
2020-03-19 16:29:24 +01:00
Maciej Hirsz 38ccc02eaa Quick subscribe (#232)
* feat: Send chain head ahead of node list

* feat: Partition node list into batches of 32
2020-02-20 14:38:58 +01:00
Maciej Hirsz ff29540d56 feat: Added a /health endpoint (#230) 2020-02-18 13:59:12 +01:00
Daniel Maricic b665555de6 working backend on docker (#226)
* working backend on docker

refactor of the dockerfiles to be more readable and independent.
full build of the backend (release only) within docker

* read `PORT` to u16

* Only need one `PORT` in the new backend

Co-authored-by: Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com>
2020-02-07 18:27:25 +01:00
Maciej Hirsz 19f57d71be I/O metrics (#224)
* feat: Proxy Node IO stats to the FE

* chore: Sync up FE

* feat: Charts for cache sizes

* feat: All graphs are in

* chore: Remove browserlist
2020-01-30 15:03:19 +01:00
Simon Littlejohns b9d658e2e6 Fixed warnings by handlings absent voter fields in afg messages (#214) 2019-12-19 22:32:55 +01:00
Maciej Hirsz 0a89382127 AFG messaging (#210)
* First draft of afg messaging

* AfgReceivedPrevote, AfgReceivedPrecommit and AfgFinalized added to rust backend

* Tidy up
2019-12-06 18:21:25 +01:00
Maciej Hirsz 92fb9d28de Set block timestamp when reseting stale nodes (#209)
* fix: Prevent stale nodes from updating chain head

* Set block timestamp when reseting stale nodes
2019-12-06 13:50:30 +01:00
Maciej Hirsz f2fc89e374 fix: Prevent stale nodes from updating chain head (#208) 2019-12-06 13:30:30 +01:00
Maciej Hirsz c48ea807e7 feat: Attempt ipinfo.io if ipapi.co returns no results (#204)
* feat: Attempt ipinfo.io if ipapi.co returns no results

* fix: Use the GET method

* feat: Added tests

* chore: DRY
2019-11-28 13:31:58 +01:00
Maciej Hirsz a021622cf7 Fix average time (#202)
* fix: Average Time

* fix: Average time if stats are reset
2019-11-26 11:43:05 +01:00
Maciej Hirsz 550e96432f fix: Average Time (#201) 2019-11-25 15:06:37 +01:00
Maciej Hirsz 3e34720f66 Node Uptime (#196)
* fix: node stats updating live
* fix: Propagation time for first node to hit a block
* chore: Leaner feed serialization
* fix: Handle old nodes with stringified network_state
* feat: Add Node Uptime to the list
* chore: Remove old backend from test pipeline
2019-11-09 12:16:39 +01:00
Maciej Hirsz b69adbb096 fix: node stats updating live (#195) 2019-11-08 14:12:27 +01:00
Maciej Hirsz adbd7cb592 Fix network ID and validator icons (#189)
* fix: Validator icons

* fix: Propagation time for blocks < highest

* fix: Reintroduce network_id to Rust backend
2019-11-08 13:36:19 +01:00
Maciej Hirsz a3b6f6a5a1 Rust backend (#185) 2019-11-07 10:52:38 +01:00
Maciej Hirsz a4ededc2f0 chore: Initial commit for Rust backend 2019-06-03 15:05:34 +02:00
maciejhirsz 0580e25380 Reorganized repo using yarn and workspaces 2018-06-27 14:04:34 +02:00
maciejhirsz 003ed008e9 Added frontend to the repo 2018-06-27 11:00:53 +02:00
maciejhirsz 07a793cbb2 Add shared folder 2018-06-27 10:39:31 +02:00
maciejhirsz 462cb8404f Move backend to a folder 2018-06-27 10:35:33 +02:00