James Wilson
|
509542e460
|
fmt
|
2021-07-01 09:38:26 +01:00 |
|
James Wilson
|
16747dd66c
|
remove a few unneeded structopt bits
|
2021-06-30 17:28:51 +01:00 |
|
James Wilson
|
f7ab3292c2
|
Move a bunch of things around and flatten common crate
|
2021-06-30 17:27:10 +01:00 |
|
James Wilson
|
4308359feb
|
Give things unique ID types, not aliases, to prevent mixups
|
2021-06-30 16:59:03 +01:00 |
|
James Wilson
|
06bd660599
|
Passing a callback isn't worth the extra code; just pass a feed thing
|
2021-06-30 14:20:58 +01:00 |
|
James Wilson
|
770739c7c8
|
Finish first pass update_node impl
|
2021-06-30 12:14:17 +01:00 |
|
James Wilson
|
c5ca84ee9a
|
Add some State tests, and use genesis_hash, not label, where possible
|
2021-06-28 11:20:48 +01:00 |
|
James Wilson
|
8a0eb14aca
|
test and fix most_seen
|
2021-06-28 10:29:40 +01:00 |
|
James Wilson
|
00c6e4f4c5
|
simplify feed sending a little
|
2021-06-25 17:39:22 +01:00 |
|
James Wilson
|
89dfad5bbe
|
Handle removing a node, and a shard disconnecting (bulk remove)
|
2021-06-25 17:21:24 +01:00 |
|
James Wilson
|
4f60453689
|
handle port more properly in real_ip filter and a little refactor
|
2021-06-24 20:28:30 +01:00 |
|
James Wilson
|
fb80edba47
|
Update node locations when they come in, and get the real IP addr of nodes
|
2021-06-24 18:34:32 +01:00 |
|
James Wilson
|
e383866322
|
locator shuffling around
|
2021-06-24 09:54:00 +01:00 |
|
James Wilson
|
47c12ce210
|
Lots more refactoring, finish add node (and almost the location updating)
|
2021-06-23 18:03:11 +01:00 |
|
James Wilson
|
2db2677217
|
bimap to store global ID mappings: we'll assign them in node state
|
2021-06-23 10:12:50 +01:00 |
|
James Wilson
|
7dfc582a20
|
feed/shard disconnects can be handled, and unbounded output to feeds
|
2021-06-23 09:55:28 +01:00 |
|
James Wilson
|
63283195ad
|
WIP filling in core aggregator match arms and various other tweaks
|
2021-06-23 09:34:56 +01:00 |
|
James Wilson
|
83e2cee295
|
Remove 'remove' logging
|
2021-06-21 16:28:04 +01:00 |
|
James Wilson
|
19ef458e5b
|
Allow multiple SystemConnects to be handled from a single node in the shard
|
2021-06-21 16:27:42 +01:00 |
|
James Wilson
|
06d131bf3f
|
Add a note about closing ws with statuscode+reason
|
2021-06-21 14:23:29 +01:00 |
|
James Wilson
|
20524ac8ae
|
wrap assigning local/global IDs into struct to avoid things getting out of sync
|
2021-06-21 14:18:44 +01:00 |
|
James Wilson
|
486418e5e9
|
Fix CI
|
2021-06-21 10:54:46 +01:00 |
|
James Wilson
|
dfe016597e
|
Rework: Shard working, Telemetry Core needs logic filling in
|
2021-06-21 10:45:31 +01:00 |
|
James Wilson
|
9741b0f910
|
Remove NodeConnector from core for now; only messages from shards until refactor
|
2021-06-16 14:58:17 +01:00 |
|
James Wilson
|
3a527e69c8
|
Get chatter between shard and core working
|
2021-06-16 11:57:58 +01:00 |
|
James Wilson
|
2b0accbbb6
|
Ci tidy
|
2021-06-16 11:34:33 +01:00 |
|
James Wilson
|
5b01179ca2
|
tweak CI to work with shards+core split
|
2021-06-16 11:31:19 +01:00 |
|
James Wilson
|
588f1ea027
|
remove a few unnecessary structs
|
2021-06-16 11:24:00 +01:00 |
|
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 |
|