Package com.exonum.binding.common.proofs
Interface CheckedProof
- 
- All Known Subinterfaces:
- CheckedListProof<E>,- CheckedMapProof
 - All Known Implementing Classes:
- CheckedFlatMapProof,- CheckedListProofImpl
 
 public interface CheckedProofA checked proof is a result of proof verification operation. If it is valid, the proof contents may be accessed. SeeCheckedListProofandCheckedMapProoffor available contents description.
- 
- 
Method SummaryModifier and Type Method Description ProofStatusgetProofStatus()Returns a status of proof verification.HashCodegetRootHash()Returns the calculated root hash of the proof.booleanisValid()Returns true if proof status is valid, false otherwise.
 
- 
- 
- 
Method Detail- 
getProofStatusProofStatus getProofStatus() Returns a status of proof verification.
 - 
getRootHashHashCode 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
 
 - 
isValidboolean isValid() Returns true if proof status is valid, false otherwise. Details about the proof verification status could be obtained viagetProofStatus().
 
- 
 
-