Class ListProof

java.lang.Object
com.exonum.binding.core.storage.indices.ListProof

public abstract class ListProof
extends java.lang.Object
A view of a ProofListIndexProxy, i.e., a subset of its elements coupled with a proof, which jointly allow restoring the index hash of the list. Apart from proving elements in the list, ListProof can assert that the list is shorter than the requested range of indexes.
See Also:
ProofListIndexProxy.getProof(long), ProofListIndexProxy.getRangeProof(long, long), Service Data Proofs
  • Constructor Summary

    Constructors 
    Constructor Description
    ListProof()  
  • Method Summary

    Modifier and Type Method Description
    abstract ListProofOuterClass.ListProof getAsMessage()
    Returns the proof as a protobuf message.
    static ListProof parseFrom​(byte[] proofMessage)
    Creates a new ListProof given the serialized map proof message.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait