Commit Graph

428 Commits

Author SHA1 Message Date
James Wilson 8e25b4fbdf Split msg into JSON and internal variant, and other bits 2021-06-16 11:08:33 +01:00
James Wilson c276c2065a rename shared to common to disambiguate from 'shard' 2021-06-14 10:57:06 +01:00
Maciej Hirsz 8db384bed3 Squashed diff from mh-backend-shard 2021-06-08 12:17:00 +02:00
David 505e5a387e Merge pull request #347 from paritytech/mh-remove-network-state-be
Remove network_state handling from Backend
2021-06-04 10:49:13 +02:00
David 1a97c7c007 Merge pull request #346 from paritytech/mh-restore-backend
Restore #337
2021-06-04 10:48:23 +02:00
Maciej Hirsz 7f6bb3057b Remove network_state handling from the BE 2021-06-04 09:54:36 +02:00
Maciej Hirsz e1daa07c51 Re-commit "Preparing backend to receive data from shards (#337)"
This reverts commit 87e3c52b35.
2021-06-04 09:40:37 +02:00
Squirrel 7ee8fe851f Remove network state from frontend (#345) 2021-06-04 09:38:15 +02:00
Maciej Hirsz dc6509a7ae Revert "Fix backend Dockerfile (#336)"
This reverts commit 93e33fd3f7.
2021-05-21 13:33:00 +02:00
Maciej Hirsz 87e3c52b35 Revert "Preparing backend to receive data from shards (#337)"
This reverts commit f8b7128dca.
2021-05-21 12:39:35 +02:00
Maciej Hirsz f8b7128dca Preparing backend to receive data from shards (#337)
* Move backend to backend/core

* Ported shard receiver WIP

* Remove dead code
2021-05-21 11:20:39 +02:00
Maciej Hirsz 05b0afefd3 Bucket nodes by genesis hash (#335)
* Send unwrapped Payload to Chain + cargo fmt

* Read genesis_hash when connecting

* Group chains by genesis hashes

* Fix typo

Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>

* Fix grumbles

* Link up `Hash` for docs

* `hashes` -> `genesis_hashes`

* Typo :)

Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>

* Added a doc comment link

* Add comment about why H256 is not used

Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
2021-04-27 13:05:58 +02:00
Dmitriy Zagrebin 93e33fd3f7 Fix backend Dockerfile (#336) 2021-04-23 09:51:09 +02:00
David 089352c73e Merge pull request #316 from paritytech/dp-add-changelog
Add a CHANGELOG
2021-03-29 22:22:05 +02:00
David Palm f327e528e0 update CHANGELOG 2021-03-29 22:21:33 +02:00
David Palm 7069856da9 Merge branch 'master' into dp-add-changelog 2021-03-29 22:15:33 +02:00
David 3da4ac296a Merge pull request #322 from paritytech/dp-mute-node-connector-when-denied-or-overquota
Mute denied nodes
2021-03-29 22:15:04 +02:00
David Palm f328b5f5d3 No use denying "Earth" – they renamed
Send Close frame with reason when the remote missed a heartbeat
2021-03-29 22:13:14 +02:00
David Palm 7bb4a410bf Merge branch 'master' into dp-mute-node-connector-when-denied-or-overquota 2021-03-29 22:03:25 +02:00
David 5fc277d630 Merge pull request #319 from paritytech/dp-disable-compression-support
Build actix-web without compression support
2021-03-29 22:01:59 +02:00
David Palm bbfe118965 Use ctor instead of lazy_static 2021-03-27 23:00:36 +01:00
David Palm 8d2441b7fb No need for duplicate refs to the NodeConnector
Addr's version of `do_send` does not return `Result`
2021-03-27 22:36:03 +01:00
David 47f5df8104 Update backend/src/node/connector.rs
Co-authored-by: Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com>
2021-03-27 22:08:43 +01:00
David 41a6060be7 Update backend/src/aggregator.rs
Co-authored-by: Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com>
2021-03-27 22:08:32 +01:00
David 5571cf85e5 Update backend/src/aggregator.rs
Co-authored-by: Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com>
2021-03-27 22:08:25 +01:00
David 3d6bdbcef6 Update backend/src/aggregator.rs
Co-authored-by: Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com>
2021-03-27 22:08:12 +01:00
David Palm 9b42bf4af0 Close websocket with a reason when muting 2021-03-26 23:06:52 +01:00
David Palm 8ed38deaa8 Merge remote-tracking branch 'origin/master' into dp-mute-node-connector-when-denied-or-overquota 2021-03-26 21:59:55 +01:00
David Palm d39f6b5617 Fix doc 2021-03-26 21:59:36 +01:00
David ad65aebbed Merge pull request #326 from paritytech/mp-ski-holiday
Switch away from using MUSL builds
2021-03-26 20:33:39 +01:00
Martin Pugh c1a14a01b6 fix backend for real this time 2021-03-26 20:20:49 +01:00
Martin Pugh 9e8ce96fec use alpine 2021-03-26 19:52:10 +01:00
David 6ce0236727 Merge pull request #324 from paritytech/mp-revert-changes
Revert "Why can't you just be normal?"
2021-03-26 18:15:46 +01:00
Martin Pugh 9746a420d7 smdh... 2021-03-26 17:51:59 +01:00
Martin Pugh 30492d2874 point to latest 2021-03-26 17:33:16 +01:00
Martin Pugh 600ed304e3 Revert "Why can't you just be normal?"
This reverts commit af28d23e6a.
2021-03-26 17:20:43 +01:00
David Palm 6feafc73a9 Merge remote-tracking branch 'origin/master' into dp-mute-node-connector-when-denied-or-overquota 2021-03-26 15:04:40 +01:00
David 346c1c36b6 Merge pull request #323 from paritytech/mp-fix-ci
Update docker actions to v2
2021-03-26 14:00:49 +01:00
David Palm df6bd74de5 Merge remote-tracking branch 'origin/master' into dp-mute-node-connector-when-denied-or-overquota 2021-03-26 13:46:22 +01:00
Martin Pugh ac8a4c4d8b lets run CI when CI gets updated.... 2021-03-26 13:38:54 +01:00
Martin Pugh 7fd740e25d fix tags maybe 2021-03-26 13:35:16 +01:00
Martin Pugh de83475e10 fix backend.yml 2021-03-26 13:31:25 +01:00
Martin Pugh 673a649a9c fix frontend.yml 2021-03-26 13:30:48 +01:00
Martin Pugh 9a268c5d49 fix strings 2021-03-26 13:29:47 +01:00
Martin Pugh 44eada6eb9 update docker actions to v2 2021-03-26 13:28:12 +01:00
David Palm f449dc6667 Add a Mute message
Send a `Mute` message to `NodeConnector` when a node is from a chain on the denylist OR if the chain is overquota.
(Also: dial down logging of finalized blocks a bit)
2021-03-26 13:24:54 +01:00
David d59491f32a Merge pull request #321 from paritytech/dp-dockerfile
Dockerfile fixes
2021-03-26 12:47:55 +01:00
David Palm 894f7ef742 merge 2021-03-26 12:30:12 +01:00
David Palm b1f8978665 Merge remote-tracking branch 'origin/master' into dp-dockerfile 2021-03-26 12:28:41 +01:00
David Palm 2edb9195f6 Dockerfile fixes 2021-03-26 12:28:07 +01:00