Andronik Ordian
2e70f4ea08
validator-discovery: basic retrying logic ( #3059 )
...
* validator_discovery: less flexible, but simpler design
* fix test
* remove unused struct
* smol optimization
* validator_discovery: basic retrying logic
* add a test
* add more tests
* update the guide
* more test logic
* Require at least 2/3 connectivity.
* Fix test.
* Update node/network/gossip-support/src/lib.rs
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
* Update node/network/gossip-support/src/lib.rs
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
Co-authored-by: Robert Klotzner <robert.klotzner@gmx.at >
Co-authored-by: Robert Klotzner <eskimor@users.noreply.github.com >
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
2021-05-20 10:05:44 +00:00
Andronik Ordian
98c06f5b57
validator_discovery: less flexible, but simpler design ( #3052 )
...
* validator_discovery: less flexible, but simpler design
* fix test
* remove unused struct
* smol optimization
2021-05-19 18:54:13 +02:00
Robert Klotzner
44c03a3633
Actually connect to new validators at session boundary. ( #3055 )
...
* Actually connect to new validators at session boundary.
* Add tracing.
2021-05-19 11:29:55 +00:00
Andronik Ordian
60fbca3c2a
validator_discovery: simplification ( #3009 )
...
* validator_discovery: simplification
* compilation fixes
* compilation fixes II
* compilation fixes III
* compilation fixes IV
2021-05-13 11:31:15 +02:00
Robert Habermeier
11b8e4c821
Collation protocol: stricter validators ( #2810 )
...
* guide: declare one para as a collator
* add ParaId to Declare messages and clean up
* fix build
* fix the testerinos
* begin adding keystore to collator-protocol
* remove request_x_ctx
* add core_for_group
* add bump_rotation
* add some more helpers to subsystem-util
* change signing_key API to take ref
* determine current and next para assignments
* disconnect collators who are not on current or next para
* add collator peer count metric
* notes for later
* some fixes
* add data & keystore to test state
* add a test utility for answering runtime API requests
* fix existing collator tests
* add new tests
* remove sc_keystore
* update cargo lock
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-04-03 21:48:58 +02:00
Andronik Ordian
98082c5326
gossip: move authorities request to runtime api subsystem ( #2798 )
2021-04-01 23:51:01 +02:00
Andronik Ordian
7a2e1ef6c1
gossip: do not try to connect if we are not validators ( #2786 )
...
* gossip: do not issue a connection request if we are not a validator
* guide updates
* use all relevant authorities when issuing a request
* use AuthorityDiscoveryApi instead
* update comments to the status quo
2021-04-01 18:11:43 +02:00
Andronik Ordian
9ac35d9f2b
gossip: choose a random subset on send instead of limiting connections ( #2776 )
...
* gossip: choose random subset on send
* naming bikeshed
2021-03-30 20:59:53 +02:00
Robert Habermeier
064df81ee4
Add block number to activated leaves and associated fixes ( #2718 )
...
* add number to `ActivatedLeavesUpdate`
* update subsystem util and overseer
* use new ActivatedLeaf everywhere
* sort view
* sorted and limited view in network bridge
* use live block hash only if it's newer
* grumples
2021-03-26 13:06:40 +01:00
Bastian Köcher
edb36153b1
Improve logging ( #2669 )
...
* Improve logging
* Review feedback
* Fix some warning and some further logging changes
2021-03-23 11:57:59 +01:00
Robert Habermeier
b105d9acc0
more tracing for av-store ( #2604 )
...
* more tracing for av-store
* Update node/core/av-store/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update node/core/av-store/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update node/core/av-store/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Update tracing everywhere
* Fix build
* More fixes
* Push cargo.lock
* Update
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Bastian Köcher <info@kchr.de >
2021-03-11 13:12:34 +01:00
Andronik Ordian
baa691deb1
prefix parachain log targets with parachain:: ( #2600 )
...
* prefix parachain log targets with parachain::
* even more consistent
2021-03-10 17:07:56 +01:00
Andronik Ordian
4c1de66d5d
subsystem for issuing background connection requests ( #2538 )
...
* initial subsystem for issuing connection requests
* finish the initial impl
* integrate with the overseer
* rename to gossip-support
* fix renamings leftover
* remove run_inner
* fix compilation
* random subset of sqrt
2021-03-02 10:40:06 +00:00