• Serban Iorga's avatar
    Backport: Implement basic equivocations detection loop (#2375) · 588508ac
    Serban Iorga authored and Bastian Köcher's avatar Bastian Köcher committed
    * 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
    588508ac