Class MerklePath

    • Method Detail

      • getLength

        public int getLength()
        Get the length of this MerklePath
        Returns:
        the length of this MerklePath
      • isLeftmost

        public boolean isLeftmost()
      • isRightmost

        public boolean isRightmost()
      • areRightLeavesEmpty

        public boolean areRightLeavesEmpty()
      • leafIndex

        public long leafIndex()
      • serialize

        public byte[] serialize()
      • deserialize

        public static MerklePath deserialize​(byte[] merklePathBytes,
                                             boolean semanticChecks)
      • deserialize

        public static MerklePath deserialize​(byte[] merklePathBytes)
      • freeMerklePath

        public void freeMerklePath()