- 19 Jun, 2021 1 commit
-
-
Andronik Ordian authored
* network-bridge: remove action_sink abstraction * another wtf * filter out event stream * Revert "filter out event stream" This reverts commit 63bd8f5d. * retain cleanup though
-
- 18 Jun, 2021 1 commit
-
-
Andronik Ordian authored
* gossip-support: gossip topology * some fixes * handle view update for newly added gossip peers * fix neighbors calculation * fix test * resolve TODOs * typo * guide updates * spaces in the guide * sneaky spaces * hash randomness * address some review nits * use unbounded in bridge for subsystem msg
-
- 17 Jun, 2021 1 commit
-
-
Andronik Ordian authored
* cleanup more tests and spaces * oops
-
- 13 Jun, 2021 2 commits
-
-
Andronik Ordian authored
* approval-voting: logs for invalid votes * proper errors for assignment checks * proper errors for approval checks
-
asynchronous rob authored
* skeleton for dispute-coordinator * add coordinator and participation message types * begin dispute-coordinator DB * functions for loading * implement strongly-typed DB transaction * add some tests for DB transaction * core logic for pruning * guide: update candidate-votes key for coordinator * update candidate-votes key * use big-endian encoding for session, and implement upper bound generator * finish implementing pruning * add a test for note_current_session * define state of the subsystem itself * barebones subsystem definition * control flow * more control flow * implement session-updating logic * trace * control flow for message handling * Update node/core/dispute-coordinator/src/lib.rs Co-authored-by:
André Silva <123550+andresilva@users.noreply.github.com> * Update node/subsystem/src/messages.rs Co-authored-by:
André Silva <123550+andresilva@users.noreply.github.com> * some more control flow * guide: remove overlay * more control flow * implement some DB getters * make progress on importing statements * add SignedDisputeStatement struct * move ApprovalVote to shared primitives * add a signing-payload API to explicit dispute statements * add signing-payload to CompactStatement * add relay-parent hash to seconded/valid dispute variatns * correct import * type-safe wrapper around dispute statements * use checked dispute statement in message type * extract rolling session window cache to subsystem-util * extract session window tests * approval-voting: use rolling session info cache * reduce dispute window to match runtime in practice * add byzantine_threshold and supermajority_threshold utilities to primitives * integrate rolling session window * Add PartialOrd to CandidateHash * add Ord to CandidateHash * implement active dispute update * add dispute messages to AllMessages * add dispute stubs to overseer * inform dispute participation to participate * implement issue_local_statement * implement `determine_undisputed_chain` * fix warnings * test harness for dispute coordinator tests * add more helpers to test harness * add some more helpers * some tests for dispute coordinator * ignore wrong validator indices * test finality voting rule constraint * add more tests * add variants to network bridge * fix test compilation * remove most dispute coordinator functionality as of #3222 we can do most of the work within the approval voting subsystem * Revert "remove most dispute coordinator functionality" This reverts commit 9cd615e8 . * Use thiserror Co-authored-by:
Bernhard Schuster <bernhard@ahoi.io> * Update node/core/dispute-coordinator/src/lib.rs Co-authored-by:
Bernhard Schuster <bernhard@ahoi.io> * extract tests to separate module * address nit * adjust run_iteration API Co-authored-by:
André Silva <123550+andresilva@users.noreply.github.com> Co-authored-by:
Bernhard Schuster <bernhard@ahoi.io>
-
- 12 Jun, 2021 3 commits
-
-
Andronik Ordian authored
* fix connections leak * fix compilation
-
Andronik Ordian authored
-
Andronik Ordian authored
* tabify tests * move mod tests; up
-
- 11 Jun, 2021 1 commit
-
-
Bernhard Schuster authored
Moves tests into separate files in order to limit the loc per file.
-
- 09 Jun, 2021 2 commits
-
-
dependabot[bot] authored
Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.14 to 0.3.15. - [Release notes](https://github.com/rust-lang/futures-rs/releases) - [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.14...0.3.15 ) --- updated-dependencies: - dependency-name: futures dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Andronik Ordian authored
* remove tracing::intrument annotations * remove unused param and leftover * more leftovers
-
- 08 Jun, 2021 1 commit
-
-
Lldenaurois authored
* Create validator_side module * Subsume Candidate Selection * Add test to ensure candidate backing logic is correct * Ensure secondings are adequately cleaned up and address test flakyness * Address Feedback
-
- 04 Jun, 2021 1 commit
-
-
Andronik Ordian authored
* approval-distribution: send all messages on unify * update the guide
-
- 03 Jun, 2021 1 commit
-
-
Andronik Ordian authored
* remove duplicate logging * validator-discovery: add extra logging
-
- 01 Jun, 2021 1 commit
-
-
Robert Klotzner authored
-
- 31 May, 2021 1 commit
-
-
asynchronous rob authored
* guide: reversion safety * guide: manage reversion safety in subsystems * add leaf status to ActivatedLeaf * add an LRU-cache to overseer for staleness detection * update ActivatedLeaf usages in tests to contain status field * add variant where missed accidentally * add some helpers to LeafStatus * address grumbles
-
- 27 May, 2021 1 commit
-
-
dependabot[bot] authored
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.25 to 0.1.26. - [Release notes](https://github.com/tokio-rs/tracing/releases) - [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.25...tracing-0.1.26 ) Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- 25 May, 2021 1 commit
-
-
Andronik Ordian authored
* validator_discovery: small tweak in retrying logic * validator_discovery: use timeouts instead
-
- 22 May, 2021 2 commits
-
-
Andronik Ordian authored
* network-bridge: downgrade log level of benefit rep change * remove it as we log it at higher level
-
Bernhard Schuster authored
-
- 21 May, 2021 2 commits
-
-
Robert Klotzner authored
* State can be finished due to `Share` message. Therefoe a task can still be running in that state. Removed panic and changed state name to reflect possibility of `Share` message. * bump spec versions in kusama, polkadot and westend again III * properly bump for the upcoming release Co-authored-by:
Andronik Ordian <write@reusable.software>
-
Pierre Krieger authored
-
- 20 May, 2021 1 commit
-
-
Andronik Ordian authored
* 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>
-
- 19 May, 2021 2 commits
-
-
Andronik Ordian authored
* validator_discovery: less flexible, but simpler design * fix test * remove unused struct * smol optimization
-
Robert Klotzner authored
* Actually connect to new validators at session boundary. * Add tracing.
-
- 14 May, 2021 1 commit
-
-
Pierre Krieger authored
-
- 13 May, 2021 1 commit
-
-
Andronik Ordian authored
* validator_discovery: simplification * compilation fixes * compilation fixes II * compilation fixes III * compilation fixes IV
-
- 10 May, 2021 1 commit
-
-
Robert Klotzner authored
* Reporting peer might come first before trying to request data, depending on scheduler. * Better test.
-
- 06 May, 2021 4 commits
-
-
Robert Klotzner authored
* Flood protection for large statements. * Add test for flood protection. * Doc improvements.
-
Pierre Krieger authored
* Companion PR for #8682 * Compilation fix * Update beefy * update Substrate Co-authored-by: parity-processbot <>
-
Robert Klotzner authored
* Cleanup obsolete code. * Move session cache to requester.
-
Robert Klotzner authored
* Always connect in collator protocol. * Fix unused import. * We always issue connection requests now. * Fix stupid boolean logic with one variable. * Fix CI.
-
- 03 May, 2021 2 commits
-
-
Robert Klotzner authored
Otherwise peer connect events occassionally happen before `StatementFetchingReceiver` message.
-
Robert Klotzner authored
* Remove signature verification in backing. `SignedFullStatement` now signals that the signature has already been checked. * Remove unused check_payload function. * Introduced unchecked signed variants. * Fix inclusion to use unchecked variant. * More unchecked variants. * Use unchecked variants in protocols. * Start fixing statement-distribution. * Fixup statement distribution. * Fix inclusion. * Fix warning. * Fix backing properly. * Fix bitfield distribution. * Make crypto store optional for `RuntimeInfo`. * Factor out utility functions. * get_group_rotation_info * WIP: Collator cleanup + check signatures. * Convenience signature checking functions. * Check signature on collator-side. * Fix warnings. * Fix collator side tests. * Get rid of warnings. * Better Signed/UncheckedSigned implementation. Also get rid of Encode/Decode for Signed! *party* * Get rid of dead code. * Move Signed in its own module. * into_checked -> try_into_checked * Fix merge.
-
- 27 Apr, 2021 1 commit
-
-
Robert Klotzner authored
* Factor out runtime module into utils. * First fatal error design. * Better error handling infra. * Error handling cleanup. * Send to peers of our group first. * Finish backing group prioritization. * Little cleanup. * More cleanup. * Forgot to checkin error.rs. * Notes. * Runtime -> RuntimeInfo * qed in debug assert. * PolkaErr -> Fault.
-
- 25 Apr, 2021 1 commit
-
-
François Garillot authored
* Simplify some Option / Result / ? operator patterns When they identically match a combinator on those types. Tool-aided by [comby-rust](https://github.com/huitseeker/comby-rust ). * adjust review comments Co-authored-by:
Shawn Tabrizi <shawntabrizi@gmail.com>
-
- 16 Apr, 2021 1 commit
-
-
Robert Klotzner authored
* Factor out runtime module into utils. * Add maybe_authority information to `PeerConnected` event. We already gather this information in authority discovery, so we might as well share it with others. This opens up an easy path to trigger validators differently from normal nodes, e.g. for prioritization. This change has become more important now, that we just connect to all validators and therefore just have a long peer list without any information about those nodes. * Test fix.
-
- 14 Apr, 2021 1 commit
-
-
Robert Klotzner authored
-
- 12 Apr, 2021 2 commits
-
-
Robert Klotzner authored
* More test coverage. * Preserve peer order. * Better test coverage. * Even more test coverage. * Add doc comment to `IndexMap`. * Fix flaky test. * Review remarks. * Review remarks.
-
Robert Klotzner authored
-