1. Nov 30, 2020
  2. Nov 26, 2020
  3. Nov 25, 2020
    • Peter Goodspeed-Niklaus's avatar
    • Peter Goodspeed-Niklaus's avatar
      streamline GetBackedCandidates · f2059b8c
      Peter Goodspeed-Niklaus authored
      This uses table.attested_candidate instead of table.get_candidate, because
      it's not obvious how to get a BackedCandidate from just a
      CommittedCandidateReceipt.
      f2059b8c
    • Bastian Köcher's avatar
      Some code cleanup in overseer (#2008) · 9a32ab1d
      Bastian Köcher authored
      * Some code cleanup in overseer
      
      - Switches to select! in the overseer run loop to be more fair about
      message processing between the different sources.
      - Added a check to only send `ActiveLeaves` if the update actually
      contains any data.
      
      * Move the check
      
      * Restore old behavior
      
      * Simplify message sending and signal sending to subsystems
      
      * Update node/subsystem/src/lib.rs
      9a32ab1d
    • Peter Goodspeed-Niklaus's avatar
      fix candidate-backing tests · 6ffc1336
      Peter Goodspeed-Niklaus authored
      6ffc1336
    • Fedor Sakharov's avatar
      PoV Distribution optimization (#1990) · a0541ce7
      Fedor Sakharov authored
      * Initial commit
      
      * Remove unnecessary struct
      
      * Some review nits
      
      * Update node/network/pov-distribution/src/lib.rs
      
      * Update parachain/test-parachains/adder/collator/tests/integration.rs
      
      * Review nits
      
      * notify_all_we_are_awaiting
      
      * Both ways of peers connections should work the same
      
      * Add mod-level docs to error.rs
      
      * Avoid multiple connection requests at same parent
      
      * Dont bail on errors
      
      * FusedStream for ConnectionRequests
      
      * Fix build after merge
      
      * Improve error handling
      
      * Remove whitespace formatting
      a0541ce7
    • asynchronous rob's avatar
      Approval Distribution Subsystem (#1951) · 029c8a2a
      asynchronous rob authored
      
      
      * skeleton flow control
      
      * tweaks & rename to approvals distribution
      
      * Update roadmap/implementers-guide/src/node/approval/approval-distribution.md
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      
      * Update roadmap/implementers-guide/src/node/approval/approval-distribution.md
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      
      * add a `NewBlocks` message and dispatch
      
      * new data format for approval distribution
      
      * guide: update view to include finalized block number
      
      * approvals: document view updating
      
      * pruning when peers disconnect
      
      * add remaining message types
      
      * fix link
      
      * network message type
      
      * handle incoming assignments
      
      * import_and_circulate_approval
      
      * handle new blocks
      
      * address review comments
      
      * address review comments and use nifty VRFProof
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      029c8a2a
  4. Nov 24, 2020
  5. Nov 23, 2020
  6. Nov 22, 2020
    • Bastian Köcher's avatar
      Improve collator side of the collator-protocol (#1955) · ba74791b
      Bastian Köcher authored
      * Improve collator side of the collator-protocol
      
      This pr improves the collator-protocol implementation of the collator
      side. Besides cleaning up code and rewriting it, the following changed:
      
      - Before on `PeerViewChange` we send an advertisment to every peer, now
      this only happens for validators.
      - It also adds a check that we send an advertisment message only once
      for a connected peer.
      - If the same validator was part of the current and next group, we
      requested to be connected to this validator two times. This is also
      fixed now.
      - Instead of having only one connection request, we now are being able
      to store multiple of them. This is required as we can have multiple
      active leafs at any point of time.
      
      * Switch to common `ConnectionRequests`
      
      * Update node/network/collator-protocol/src/collator_side.rs
      ba74791b
  7. Nov 20, 2020