- 03 Apr, 2020 1 commit
-
-
Bastian Köcher authored
Before the validator only send the keys if it was updated and thus the collators would "never" be informed about the key of the validator.
-
- 02 Apr, 2020 1 commit
-
-
Pierre Krieger authored
* Don't depend directly on libp2p * Fix bad import
-
- 01 Apr, 2020 2 commits
-
-
Bastian Köcher authored
Up to now consensus instances used the main channel to communicate with the background network worker. This lead to a race condition when sending a local collation and dropping the router before driving the send local collation future until it is finished. This pr changes the communication between worker and the instances to use their own channels. This has the advantage that we don't need an extra `DropConsensusNetworking` message as the network is dropped automatically when the last sender is dropped.
-
Gavin Wood authored
* Fixes for democracy using Scheduler * Revert branch change
-
- 31 Mar, 2020 4 commits
-
-
asynchronous rob authored
* add pov-block gossip message to network * tests for pov-block gossip * integrate pov-block gossip into main protocol * message validation fetches pov blocks * remove stray dbg! invocation * test that pov-block is fetched from relay-parent topic
-
Cecile Tonglet authored
-
Bastian Köcher authored
* Companion pr for substrate#5448 * Update Substrate reference
-
https://github.com/paritytech/substrate/pull/5236Cecile Tonglet authored
* Adapt code to API changes * Update sp-io
-
- 30 Mar, 2020 1 commit
-
-
Bastian Köcher authored
-
- 26 Mar, 2020 1 commit
-
-
Cecile Tonglet authored
-
- 25 Mar, 2020 1 commit
-
-
Fedor Sakharov authored
* Adds a SigningContext type * Bump spec versions * Fixes requested changes * Bump ParachainHost api_version and guard signing_context call * Improve error message * If there is no signing_context api use default value Co-authored-by:
Robert Habermeier <rphmeier@gmail.com>
-
- 24 Mar, 2020 1 commit
-
-
Cecile Tonglet authored
-
- 23 Mar, 2020 1 commit
-
-
Gav Wood authored
-
- 21 Mar, 2020 2 commits
-
-
Gav Wood authored
-
Gavin Wood authored
* Updates for the new democracy * Introduce progressive democracy Also move to "master" branch of Substrate ready for continuous sync with Substrate master.
-
- 19 Mar, 2020 1 commit
-
-
André Silva authored
* bump version to v0.7.27 * update to latest substrate polkadot-master * bump runtime impl_version
-
- 17 Mar, 2020 2 commits
-
-
Gavin Wood authored
-
Gavin Wood authored
* Bump version and Substrate * Version * Lock
-
- 16 Mar, 2020 2 commits
-
-
asynchronous rob authored
* move protocol.rs into subfolder * add trait for mocking network behavior * add a mock version of network ops * remove some redundant parameters from service messages * ensure fetching erasure chunks automatically cancels * introduce dummy ProvideRuntimeApi * abstract over gossip somewhat * add mock gossip handler * skeleton test * remove dependence of shared table on router * remove worker dependence on its own sender * test shutdown * add tests * test that gossip streams are cleaned up correctly * refactor worker out into its own struct and reduce bound on executor * remove reliance of tests on global thread pool
-
Gavin Wood authored
-
- 14 Mar, 2020 1 commit
-
-
Gavin Wood authored
* Insert storage for finality tracker * Bump lock * Bump version
-
- 13 Mar, 2020 2 commits
-
-
Gavin Wood authored
* Bump version * Cargo lock * Bump runtime version * Bump Substrate again to include recent fix
-
Gavin Wood authored
* Flag to force kusama runtime * Chainspecs for kusama * Polkadot config for westend Co-Authored-By:
Bastian Köcher <bkchr@users.noreply.github.com> * network/src/legacy/gossip: Wrap GossipEngine in Arc Mutex & lock it on use `GossipEngine` in itself has no need to be Send and Sync, given that it does not rely on separately spawned background tasks anymore. `RegisteredMessageValidator` needs to be `Send` and `Sync` due to the inherited trait bounds from implementing `GossipService`. In addition `RegisteredMessageValidator` derives `Clone`. Thereby `GossipEngine` needs to be wrapped in an `Arc` and `Mutex` to keep the status quo. * Needed fixes. * Fixes * Fixed build * Fixed build w benchmarking CLI * Fixed building tests * Added --dev shortcut Co-authored-by:
arkpar <arkady.paronyan@gmail.com> Co-authored-by:
Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by:
Max Inden <mail@max-inden.de>
-
- 10 Mar, 2020 1 commit
-
-
Ashley authored
* Copy over files * Most network tests work * Fix copyrights * Strip out unneeded pallets * Update test-runtime and remove unused network test things * Upgrade test runtime * Strip more things out of the test runtime * Bump kusama impl version
-
- 09 Mar, 2020 1 commit
-
-
Max Inden authored
Remove `Send + Sync + 'static` super trait bound on `GossipService`. It is not required by `GossipService` nor its `impl`s.
-
- 07 Mar, 2020 1 commit
-
-
Gavin Wood authored
* Bump version to knock the -dev * Update lock
-
- 06 Mar, 2020 2 commits
-
-
Gavin Wood authored
* Bump Substrate and some fixes * Bump runtime * version bump
-
joe petrowski authored
-
- 05 Mar, 2020 3 commits
-
-
Gavin Wood authored
* expunge legacy code from polkadot-network * mostly rip out old legacy protocol from service * ensure validation work is spawned by incoming messages * decouple availabliity store from network logic; clean up data flow * av_store: test helpers and use futures-abort * update polkadot-validation to pass n_validators when submitting chunks * fallible erasure-chunk fetching * implement `ErasureNetworking` for new network prot * API for registering availability store in network * fully integrate new network service into service * fix validation tests * scaffolding for porting collator over to new network * track connected validators' peer IDs and distribute collators' collations * helper in network for fetching all checked statements * fix adder-collator * actually register notifications protocol * Update service/src/lib.rs * Make needed changes to service * Merge two companion PRs. - #880 - #881 * Some effort towards compilation * Fix * remove `NetworkSpecialization` references from network * fix compilation errors in service and collator * ensure protocol name is valid * Fixes * Fix Co-authored-by:
Robert Habermeier <rphmeier@gmail.com> Co-authored-by:
Ashley <ashley.ruglys@gmail.com>
-
asynchronous rob authored
* expunge legacy code from polkadot-network * mostly rip out old legacy protocol from service * ensure validation work is spawned by incoming messages * decouple availabliity store from network logic; clean up data flow * av_store: test helpers and use futures-abort * update polkadot-validation to pass n_validators when submitting chunks * fallible erasure-chunk fetching * implement `ErasureNetworking` for new network prot * API for registering availability store in network * fully integrate new network service into service * fix validation tests * scaffolding for porting collator over to new network * track connected validators' peer IDs and distribute collators' collations * helper in network for fetching all checked statements * fix adder-collator * actually register notifications protocol * Update service/src/lib.rs * merge with master
-
Gavin Wood authored
* Switch branch * Small changes * Update substrate branch * Switch * Revert "Switch branch" This reverts commit b9d48b2c. * fix * add `wipe` and `commit` * Remove deprecated_host_interface * Switch branch * HasherFor -> HashFor * More HasherFor changes * Final touches * Revert "Switch branch" This reverts commit d0da2731 . Co-authored-by:
thiolliere <gui.thiolliere@gmail.com> Co-authored-by:
Shawn Tabrizi <shawntabrizi@gmail.com>
-
- 28 Feb, 2020 1 commit
-
-
Bastian Köcher authored
* Begin to update to latest Substrate master * Fix compilation * Remove `Balances` from `OnKilledAccount` * Update cli/src/command.rs Co-Authored-By:
Cecile Tonglet <cecile@parity.io> * Change gossip name * Change again Co-authored-by:
Cecile Tonglet <cecile.tonglet@cecton.com>
-
- 25 Feb, 2020 1 commit
-
-
asynchronous rob authored
* encode the candidate statement as only the hash * refactor CandidateReceipt and CollationInfo * introduce an abridged candidate receipt type * erasure coding stores candidate receipt * store omitted data instead and introduce AvailableData type * refactor availability-store schema * tweak schema and APIs a bit more * get availability-store tests passing * accept AbridgedCandidateReceipt in `set_heads` * change statement type in primitives to be hash-only * fix parachains runtime tests * fix bad merge * rewrite validation pipeline * remove evaluation module * use abridged candidate hash as canonical * statement table uses abridged candidate receipts * kill availability_store::Data struct * port shared table to new validation pipelines * extract full validation pipeline to helper * remove old validation pipeline from collation module * polkadot-validation compiles * polkadot-validation tests compile * make local collation available in validation service * port legacy network code * polkadot-network fully ported * network: ensure fresh statement is propagated * remove pov_block_hash from LocalValidationData * remove candidate_hash field from AttestedCandidate and update runtime * port runtimes to new ParachainHost definition * port over polkadot-collator * fix test compilation * better fix * remove unrelated validation work dispatch fix * address grumbles * fix equality check
-
- 21 Feb, 2020 1 commit
-
-
Pierre Krieger authored
-
- 19 Feb, 2020 2 commits
-
-
Nikolay Volf authored
* try to update * latest updates * final fixes * Fix claim w/ vesting logic * Make claim tests a bit better Co-authored-by:
Shawn Tabrizi <shawntabrizi@gmail.com>
-
Ashley authored
* Remove TargetedMessage * Nitpicks
-
- 13 Feb, 2020 1 commit
-
-
Ashley authored
* WIP * WIp * Mostly get tests to compile * Fix adder collator * Remove more stuff * Revert some changes to av store * Fix av store tests * Nitpicks * Restore some things * Small changes * Remvoe unused error variants
-
- 11 Feb, 2020 1 commit
-
-
Bastian Köcher authored
-
- 10 Feb, 2020 2 commits
-
-
asynchronous rob authored
* extract all network code to legacy submodule * update references to legacy proto * skeleton of futures-based protocol * refactor skeleton to use background task * rename communication_for to build_table_router * implement internal message types for validation network * basic ParachainNetwork and TableRouter implementations * add some module docs * remove exit-future from validation * hack: adapt legacy protocol to lack of exit-future * generalize RegisteredMessageValidator somewhat * instantiate and teardown table routers * clean up RouterInner drop logic * implement most of the statement import loop * implement statement loop in async/await * remove unneeded TODO * most of the collation skeleton * send session keys and validator roles * also send role after status * use config in startup * point TODO to issue * fix test compilation
-
asynchronous rob authored
* runtime: candidate receipt must pass parent head * construct parachain candidates using correct parent_head * validate that the parent header is correct in candidate receipt * fix test fallout * bump runtime versions
-