1. 03 Apr, 2020 1 commit
  2. 01 Apr, 2020 1 commit
    • Bastian Köcher's avatar
      Rework consensus instance communication with the network worker (#958) · 639dfd67
      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.
      639dfd67
  3. 31 Mar, 2020 2 commits
    • asynchronous rob's avatar
      PoV-block gossip (#930) · 5f376dfd
      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
      5f376dfd
    • Bastian Köcher's avatar
      Companion pr for substrate#5448 (#957) · c6517ba7
      Bastian Köcher authored
      * Companion pr for substrate#5448
      
      * Update Substrate reference
      c6517ba7
  4. 25 Mar, 2020 1 commit
  5. 16 Mar, 2020 1 commit
    • asynchronous rob's avatar
      Tests for new network code (#897) · 97582fb1
      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
      97582fb1