• Michael Müller's avatar
    Introduce srml/im-online (#3079) · aa8c06a0
    Michael Müller authored
    
    
    * Fix grammar and typo
    
    * Extend network service
    
    * Extend offchain API
    
    * Support creating unsigned UncheckedExtrinsic
    
    * Introduce srml/im-online
    
    * Bump impl and spec version
    
    * Fix web-wasm test
    
    * Apply suggestions from code review
    
    Remove parity-multiaddr dependency
    
    Co-Authored-By: default avatarPierre Krieger <[email protected]>
    
    * Replace transmute with from_raw_parts
    
    * Replace PeerId.to_string() with .to_base58()
    
    Co-Authored-By: default avatarPierre Krieger <[email protected]>
    
    * Update Cargo.lock
    
    * Bump impl and spec version (again)
    
    It was updated in master in the meantime.
    
    * Apply suggestions from code review
    
    Co-Authored-By: default avatarSergei Pepyakin <[email protected]>
    
    * Address comments
    
    * Add public function is_online_in_current_session()
    
    * Bump spec_version
    
    * Fix doc tests
    
    * Improve comments
    
    * Remove superfluous line
    
    * Name parameters consistently
    
    * Implement comments
    
    * Switch From to TryFrom
    
    * Use Vec instead of HashSet
    
    * Fix tests
    
    * Revert me: local testing
    
    * Fix check if already sent during session
    
    We gossip each session, hence we need to check
    if already sent in this session (not era).
    
    * Fix typos
    
    * Consistent terminology
    
    * Revert "Revert me: local testing"
    
    This reverts commit 73fbc29f.
    
    * Introduce IsMember trait
    
    * Implement misc comments
    
    * Remove unused function
    
    * Fix test
    
    * Fix external_addresses being written
    
    * Fix test
    
    * Add necessary trait bound
    
    * Do not increment version
    
    * Update lib.rs
    aa8c06a0