Class MapProof

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

public abstract class MapProof
extends java.lang.Object
A view of a ProofMapIndexProxy, i.e., a subset of its entries coupled with a proof, which jointly allow restoring the index hash of the map. Apart from proving the existing entries in the map, MapProof can assert absence of certain keys in the underlying index.
See Also:
ProofMapIndexProxy.getProof(Object, Object[]), Service Data Proofs
  • Constructor Summary

    Constructors 
    Constructor Description
    MapProof()  
  • Method Summary

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

    Methods inherited from class java.lang.Object

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