Skip to content
  • Niels Möller's avatar
    2a7902be
    Refactor consistency proofs · 2a7902be
    Niels Möller authored
    Delete NewSize, OldSize fields of types.ConsistencyProof, since
    they're not part of this object on the wire.
    
    Change method ConsistencyProof.Verify to take two TreeHeads as
    argument.
    
    Extend merkle.VerifyConsistency to also handle the corner cases where
    the proof is empty.
    2a7902be
    Refactor consistency proofs
    Niels Möller authored
    Delete NewSize, OldSize fields of types.ConsistencyProof, since
    they're not part of this object on the wire.
    
    Change method ConsistencyProof.Verify to take two TreeHeads as
    argument.
    
    Extend merkle.VerifyConsistency to also handle the corner cases where
    the proof is empty.
Loading