Pierre Krieger
bc3d283e78
Clean-ups in the network-gossip crate ( #4542 )
...
* Remove usage of sc_network::Context trait
* Remove Context::send_consensus
* Pass &mut dyn Network instead of &dyn Network
* Move Validator traits and related to separate module
2020-01-09 19:24:51 +01:00
Max Inden
d76a33033d
client/network-gossip: Remove GossipEngine::abort method ( #4552 )
...
`GossipEngine::abort` and thus `ConsensusGossip::abort` are never
called. This patch removes both.
2020-01-07 15:26:40 +01:00
Shawn Tabrizi
7efa62725e
Update copyright year ( #4532 )
2020-01-05 14:05:44 +01:00
Tomasz Drwięga
8778ca7dc8
[big refactor] Remove crate aliasing. ( #4395 )
...
* Rename: Phase 1.
* Unify codec.
* Fixing: Phase 2
* Fixing: Phase 3.
* Fixing: Phase 4.
* Fixing: Phase 5.
* Fixing: Phase 6.
* Fixing: Phase 7.
* Fixing: Phase 8. Tests
* Fixing: Phase 9. Tests!!!
* Fixing: Phase 10. Moar tests!
* Finally done!
* More fixes.
* Rename primitives:: to sp_core::
* Apply renames in finality-grandpa.
* Fix benches.
* Fix benches 2.
* Revert node-template.
* Fix frame-system in our modules.
2019-12-16 20:36:49 +08:00
Pierre Krieger
c66c191b68
Extract consensus_gossip.rs and put it in its own crate ( #4284 )
...
* Extract gossiping system from network
* Finish porting GRANDPA tests
* Try put correct engine ID
* Fix messages encoding
* Fix communication tests
* Use a threads pool to spawn stuff
* Fix compilation everywhere
* Fix bad merge conflict
* Remove dependency on async-std
* Apply suggestions from code review
Co-Authored-By: Robert Habermeier <rphmeier@gmail.com >
* More suggestions
* Remove network startup GP future
* Update to futures_timer
* adjust wait_when_behind test
* Pass correct Roles after handshake
* Revert "adjust wait_when_behind test"
This reverts commit 23cb3a0a6d25ed732c2cd648607bc44ef2ab0919.
* Crate root documentation
* Remove MessageRecipient
* Address concerns
* Fix more concerns
* Forgot Cargo.lock
2019-12-13 19:16:10 +01:00