Skip to content
  1. Mar 18, 2020
  2. Mar 16, 2020
  3. Mar 13, 2020
  4. Mar 12, 2020
  5. Mar 11, 2020
  6. Mar 10, 2020
  7. Mar 09, 2020
    • André Silva's avatar
      grandpa: improve handling of global gossip messages (#5133) · 971cdc3e
      André Silva authored
      * grandpa: only gossip commits to peers on the same set
      
      * grandpa: track commits uniquely by round and set
      
      * grandpa: fix communication test
      
      * grandpa: add tests for commit gossip handling
      
      * grandpa: add missing docs
      971cdc3e
    • thiolliere's avatar
      Change space to tab (#5193) · 1c15f4f6
      thiolliere authored
      1c15f4f6
    • Max Inden's avatar
      client/network-gossip: Merge GossipEngine and GossipEngineInner (#5042) · 78cdd3bf
      Max Inden authored
      * client/network-gossip: Merge GossipEngine and GossipEngineInner
      
      Given that GossipEngine and GossipEngineInner are not shared between
      threads anyone (public interface + background tasks), neither depends on
      being Send or Sync. Thus one can merge the two as done in this patch.
      One only needs to wrap an `Arc<Mutex<>>` around the whole structure when
      the owner (e.g. finality-grandpa) needs to share the gossip engine
      between threads.
      
      * client/finality-grandpa: 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. Given that
      finality-grandpa shares the `NetworkBridge` potentially between threads
      its components need to be clonable, thus this patch wraps `GossipEngine`
      in an `Arc<Mutex<>>`.
      78cdd3bf
    • Bastian Köcher's avatar