Interface ListProofOuterClass.ProofListKeyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ListProofOuterClass.ProofListKey, ListProofOuterClass.ProofListKey.Builder
Enclosing class:
ListProofOuterClass

public static interface ListProofOuterClass.ProofListKeyOrBuilder
extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type Method Description
    int getHeight()
    Height of the element.
    long getIndex()
    Zero-based index of the node on the level.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getIndex

      long getIndex()
       Zero-based index of the node on the level.
       
      uint64 index = 1;
      Returns:
      The index.
    • getHeight

      int getHeight()
       Height of the element. Should always be greater than 0.
       1 corresponds to the hashes of single elements, 2 to hashes
       obtained by hashing together pairs of hashes at height 1, etc.
       
      uint32 height = 2;
      Returns:
      The height.