• Fedor Sakharov's avatar
    Parachains double vote handler initial implementation. (#840) · b3611713
    Fedor Sakharov authored
    
    
    * Parachains double vote handler initial implementation.
    
    * Make tests test the actual slashing.
    
    * Implement SignedExtension validation of double vote reports.
    
    * Fixes build after merge
    
    * Review fixes
    
    * Adds historical session proofs
    
    * Review fixes.
    
    * Bump runtime spec_version
    
    * Get the session number from the proof
    
    * Check that proof matches session
    
    * Change signature type on DoubleVoteReport
    
    * Adds docs and removes blank lines
    
    * Removes leftover code
    
    * Fix build
    
    * Fix build after a merge
    
    * Apply suggestions from code review
    
    Co-Authored-By: asynchronous rob's avatarRobert Habermeier <rphmeier@gmail.com>
    
    * Prune ParentToSessionIndex
    
    * Remove a clone and a warning
    
    Co-authored-by: asynchronous rob's avatarRobert Habermeier <rphmeier@gmail.com>
    Co-authored-by: default avatarGavin Wood <gavin@parity.io>
    b3611713