Interface HistoryProofConstructionOrBuilder

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

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

    Modifier and Type
    Method
    Description
    * If the network has gathered enough proof keys to assemble the history for this construction, the cutoff time at which those keys must have been adopted to be included in the final history.
    long
    * The construction id.
    * If set, the reason the construction failed.
    com.google.protobuf.ByteString
    * If set, the reason the construction failed.
    * If the network is still gathering proof keys for this construction, the next time at which nodes should stop waiting for tardy proof keys and assemble the history to be proven as soon as it has the associated metadata and proof keys for nodes with >2/3 weight in the target roster.
     
    com.google.protobuf.ByteString
    * The hash of the roster whose weights are used to determine when certain thresholds are during construction.
    * When this construction is complete, the proof that the target roster's address book and associated metadata belong to the ledger id's chain of trust.
    com.google.protobuf.ByteString
    * The hash of the roster whose weights are used to assess progress toward obtaining proof keys for parties that hold at least a strong minority of the stake in that roster.
    int
    * The number of times the network has had to restart this construction.
    * If set, the state of the WRAPS signing protocol for this construction.
    boolean
    * If the network has gathered enough proof keys to assemble the history for this construction, the cutoff time at which those keys must have been adopted to be included in the final history.
    boolean
    * If set, the reason the construction failed.
    boolean
    * If the network is still gathering proof keys for this construction, the next time at which nodes should stop waiting for tardy proof keys and assemble the history to be proven as soon as it has the associated metadata and proof keys for nodes with >2/3 weight in the target roster.
    boolean
    * When this construction is complete, the proof that the target roster's address book and associated metadata belong to the ledger id's chain of trust.
    boolean
    * If set, the state of the WRAPS signing protocol for this construction.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getConstructionId

      long getConstructionId()
       *
       The construction id.
       
      uint64 construction_id = 1;
      Returns:
      The constructionId.
    • getSourceRosterHash

      com.google.protobuf.ByteString getSourceRosterHash()
       *
       The hash of the roster whose weights are used to determine when
       certain thresholds are during construction.
       
      bytes source_roster_hash = 2;
      Returns:
      The sourceRosterHash.
    • getTargetRosterHash

      com.google.protobuf.ByteString getTargetRosterHash()
       *
       The hash of the roster whose weights are used to assess progress
       toward obtaining proof keys for parties that hold at least a
       strong minority of the stake in that roster.
       
      bytes target_roster_hash = 4;
      Returns:
      The targetRosterHash.
    • hasGracePeriodEndTime

      boolean hasGracePeriodEndTime()
       *
       If the network is still gathering proof keys for this
       construction, the next time at which nodes should stop waiting
       for tardy proof keys and assemble the history to be proven as
       soon as it has the associated metadata and proof keys for nodes
       with >2/3 weight in the target roster.
       
      .proto.Timestamp grace_period_end_time = 5;
      Returns:
      Whether the gracePeriodEndTime field is set.
    • getGracePeriodEndTime

      Timestamp getGracePeriodEndTime()
       *
       If the network is still gathering proof keys for this
       construction, the next time at which nodes should stop waiting
       for tardy proof keys and assemble the history to be proven as
       soon as it has the associated metadata and proof keys for nodes
       with >2/3 weight in the target roster.
       
      .proto.Timestamp grace_period_end_time = 5;
      Returns:
      The gracePeriodEndTime.
    • hasAssemblyStartTime

      boolean hasAssemblyStartTime()
       *
       If the network has gathered enough proof keys to assemble the
       history for this construction, the cutoff time at which those
       keys must have been adopted to be included in the final history.
       
      .proto.Timestamp assembly_start_time = 6;
      Returns:
      Whether the assemblyStartTime field is set.
    • getAssemblyStartTime

      Timestamp getAssemblyStartTime()
       *
       If the network has gathered enough proof keys to assemble the
       history for this construction, the cutoff time at which those
       keys must have been adopted to be included in the final history.
       
      .proto.Timestamp assembly_start_time = 6;
      Returns:
      The assemblyStartTime.
    • hasTargetProof

      boolean hasTargetProof()
       *
       When this construction is complete, the proof that the target
       roster's address book and associated metadata belong to the
       ledger id's chain of trust.
       
      .com.hedera.hapi.node.state.history.HistoryProof target_proof = 7;
      Returns:
      Whether the targetProof field is set.
    • getTargetProof

      HistoryProof getTargetProof()
       *
       When this construction is complete, the proof that the target
       roster's address book and associated metadata belong to the
       ledger id's chain of trust.
       
      .com.hedera.hapi.node.state.history.HistoryProof target_proof = 7;
      Returns:
      The targetProof.
    • hasFailureReason

      boolean hasFailureReason()
       *
       If set, the reason the construction failed.
       
      string failure_reason = 8;
      Returns:
      Whether the failureReason field is set.
    • getFailureReason

      String getFailureReason()
       *
       If set, the reason the construction failed.
       
      string failure_reason = 8;
      Returns:
      The failureReason.
    • getFailureReasonBytes

      com.google.protobuf.ByteString getFailureReasonBytes()
       *
       If set, the reason the construction failed.
       
      string failure_reason = 8;
      Returns:
      The bytes for failureReason.
    • hasWrapsSigningState

      boolean hasWrapsSigningState()
       *
       If set, the state of the WRAPS signing protocol for this construction.
       
      .com.hedera.hapi.node.state.history.WrapsSigningState wraps_signing_state = 9;
      Returns:
      Whether the wrapsSigningState field is set.
    • getWrapsSigningState

      WrapsSigningState getWrapsSigningState()
       *
       If set, the state of the WRAPS signing protocol for this construction.
       
      .com.hedera.hapi.node.state.history.WrapsSigningState wraps_signing_state = 9;
      Returns:
      The wrapsSigningState.
    • getWrapsRetryCount

      int getWrapsRetryCount()
       *
       The number of times the network has had to restart this construction.
       
      uint32 wraps_retry_count = 10;
      Returns:
      The wrapsRetryCount.
    • getProofStateCase