Skip to content
  1. Aug 23, 2023
    • Serban Iorga's avatar
      Backport: Implement basic equivocations detection loop (#2375) · 7fbb67de
      Serban Iorga authored
      * Implement basic equivocations detection loop (#2367)
      
      * FinalityProofsBuf adjustments
      
      - store a Vec<FinalityProof>
      - transform prune `buf_limit` to Option
      
      * FinalityProof: add target_header_hash()
      
      * Target client: implement best_synced_header_hash()
      
      * Implement first version of the equivocations detection loop
      
      * Address code review comments
      
      * Leftover
      
      * polkadot-staging adjustments
      7fbb67de
  2. Aug 16, 2023
    • Serban Iorga's avatar
      Add equivocation detector crate and implement clients (#2348) (#2353) · 620db2b1
      Serban Iorga authored
      * Split FinalitySyncPipeline and SourceClient
      
      * Move some logic to finality_base
      
      * Add empty equivocation detection clients
      
      * Add equivocation reporting logic to the source client
      
      * Use convenience trait for SubstrateFinalitySyncPipeline
      
      * Define JustificationVerificationContext for GRANDPA
      
      * Equivocation source client: finality_verification_context()
      
      * Equivocation source client: synced_headers_finality_info()
      
      * reuse HeaderFinalityInfo
      
      * Define EquivocationsFinder
      
      * Fix spellcheck
      
      * Address review comments
      
      * Avoid equivocations lookup errors
      620db2b1