Interface HintsPreprocessingVoteTransactionBodyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
HintsPreprocessingVoteTransactionBody, HintsPreprocessingVoteTransactionBody.Builder

@Generated public interface HintsPreprocessingVoteTransactionBodyOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    * The id of the hinTS construction this vote is for.
    * The vote the node is casting for the aggregation of the hints in the given construction (which should be ongoing).
    boolean
    * The vote the node is casting for the aggregation of the hints in the given construction (which should be ongoing).

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getConstructionId

      long getConstructionId()
       *
       The id of the hinTS construction this vote is for. Because
       the network only ever performs one construction a time, this
       is somewhat redundant, but included to detect any strange
       edge cases where a node is so far behind it votes on the wrong
       construction.
       
      uint64 construction_id = 1;
      Returns:
      The constructionId.
    • hasVote

      boolean hasVote()
       *
       The vote the node is casting for the aggregation of the hints
       in the given construction (which should be ongoing).
       
      .com.hedera.hapi.node.state.hints.PreprocessingVote vote = 2;
      Returns:
      Whether the vote field is set.
    • getVote

       *
       The vote the node is casting for the aggregation of the hints
       in the given construction (which should be ongoing).
       
      .com.hedera.hapi.node.state.hints.PreprocessingVote vote = 2;
      Returns:
      The vote.