Skip to content
  1. Feb 10, 2021
  2. Feb 09, 2021
  3. Feb 08, 2021
  4. Feb 06, 2021
  5. Feb 05, 2021
  6. Feb 04, 2021
  7. Feb 03, 2021
  8. Feb 02, 2021
    • Robert Klotzner's avatar
      Add a send_request function to NetworkService (#8008) · 3628998d
      Robert Klotzner authored
      
      
      * Add a `send_request` to `NetworkService`.
      
      This function delivers responses via a provided sender and also allows
      for sending requests to currently not connected peers.
      
      * Document caveats of send_request better.
      
      * Fix compilation in certain cases.
      
      * Update docs + introduce IfDisconnected enum
      
      for more readable function calls.
      
      * Doc fix.
      
      * Rename send_request to detached_request.
      
      * Whitespace fix - arrrgh
      
      * Update client/network/src/service.rs
      
      spaces/tabs
      
      Co-authored-by: default avatarPierre Krieger <[email protected]>
      
      * Update client/network/src/request_responses.rs
      
      Documentation fix
      
      Co-authored-by: default avatarRoman Borschel <[email protected]>
      
      * Update client/network/src/service.rs
      
      Typo.
      
      Co-authored-by: default avatarRoman Borschel <[email protected]>
      
      * Update client/network/src/service.rs
      
      Better docs.
      
      Co-authored-by: default avatarRoman Borschel <[email protected]>
      
      * Update client/network/src/service.rs
      
      Typo.
      
      Co-authored-by: default avatarRoman Borschel <[email protected]>
      
      * Update client/network/src/service.rs
      
      Doc improvements.
      
      Co-authored-by: default avatarRoman Borschel <[email protected]>
      
      * Remove error in logs on dialing a peer.
      
      This is now valid behaviour.
      
      * Rename detached_request to start_request.
      
      As suggested by @romanb.
      
      * Fix merged master.
      
      * Fix too long lines.
      
      Co-authored-by: default avatarPierre Krieger <[email protected]>
      Co-authored-by: default avatarRoman Borschel <[email protected]>
      3628998d
    • Joshy Orndorff's avatar
      73386a42
    • Liu-Cheng Xu's avatar
      Decouple the session validators from im-online (#7127) · 9904267e
      Liu-Cheng Xu authored
      
      
      * Decouple the session validators from im-online
      
      * .
      
      * Add SessionInterface trait in im-online
      
      Add ValidatorId in im-online Trait
      
      Make im-online compile
      
      Make substrate binary compile
      
      * Fix merging issue
      
      * Make all compile
      
      * Fix tests
      
      * Avoid using frame dep in primitives via pallet-session-common
      
      * Merge ValidatorSet into SessionInterface trait
      
      Wrap a few too long lines
      
      Add some docs
      
      * Move pallet-sesion-common into pallet-session
      
      * Move SessionInterface to sp-session and impl it in session pallet
      
      Ref https://github.com/paritytech/substrate/pull/7127#discussion_r494892472
      
      * Split put historical::FullValidatorIdentification trait
      
      * Fix line width
      
      * Fix staking mock
      
      * Fix session doc test
      
      * Simplify <T as ValidatorIdentification<AccountId>>::ValidatorId as ValidatorId<T>
      
      * Nits
      
      * Clean up.
      
      * Make it compile by commenting out report_offence_im_online bench
      
      * Tests
      
      * Nits
      
      * Move OneSessionHandler to sp-session
      
      * Fix tests
      
      * Add some docs
      
      * .
      
      * Fix typo
      
      * Rename to ValidatorSet::session_index()
      
      * Add some more docs
      
      * .
      
      * Remove extra empty line
      
      * Fix line width check
      
      .
      
      * Apply suggestions from code review
      
      * Cleaup Cargo.toml
      
      * Aura has migrated to Pallet now
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      9904267e
    • Pierre Krieger's avatar
    • Bastian Köcher's avatar
      Convert AURA to new pallet macro (#8020) · 7d65b5aa
      Bastian Köcher authored
      7d65b5aa