Class ListProofHashNode

  • All Implemented Interfaces:
    ListProofNode

    public final class ListProofHashNode
    extends Object
    implements ListProofNode
    Represents a hash of a Merkle sub-tree: a leaf node in proof trees.
    • Constructor Detail

      • ListProofHashNode

        public ListProofHashNode​(HashCode hash)
    • Method Detail

      • accept

        public void accept​(ListProofVisitor visitor)
        Description copied from interface: ListProofNode
        Applies the visitor to this proof node.

        Most implementations simply call visitor.visit(this);

        Specified by:
        accept in interface ListProofNode
        Parameters:
        visitor - a visitor to apply to this node
      • getHash

        public HashCode getHash()
        Returns the hash value.