Interface CheckedProof

    • Method Summary

      Modifier and Type Method Description
      ProofStatus getProofStatus()
      Returns a status of proof verification.
      HashCode getRootHash()
      Returns the calculated root hash of the proof.
      boolean isValid()
      Returns true if proof status is valid, false otherwise.
    • Method Detail

      • getProofStatus

        ProofStatus getProofStatus()
        Returns a status of proof verification.
      • getRootHash

        HashCode getRootHash()
        Returns the calculated root hash of the proof. Must be equal to the Merkle root hash of the collection, providing this proof.
        Throws:
        IllegalStateException - if the proof is not valid
      • isValid

        boolean isValid()
        Returns true if proof status is valid, false otherwise. Details about the proof verification status could be obtained via getProofStatus().