Interface LedgerIdOrBuilder

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

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

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    * A public key.<br/> This key both identifies the ledger and can be used to verify ledger signatures.
    com.google.protobuf.ByteString
    * A signature from the prior ledger key.<br/> This signature is the _previous_ ledger ID signing _this_ ledger ID.<br/> This value MAY be unset, if there is no prior ledger ID.<br/> This value SHOULD be set if a prior ledger ID exists to generate the signature.
    * The signatures from nodes in the active roster signing the new ledger id.<br/> These signatures establish a chain of trust from the network to the new ledger id.
    long
    * A round number.<br/> This identifies when this ledger id becomes active.<br/> This value is REQUIRED.
    boolean
    * The signatures from nodes in the active roster signing the new ledger id.<br/> These signatures establish a chain of trust from the network to the new ledger id.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getLedgerId

      com.google.protobuf.ByteString getLedgerId()
       *
       A public key.<br/>
       This key both identifies the ledger and can be used to verify ledger
       signatures.
       <p>
       This value MUST be set.<br/>
       This value MUST NOT be empty.<br/>
       This value MUST contain a valid public key.
       
      bytes ledger_id = 1;
      Returns:
      The ledgerId.
    • getRound

      long getRound()
       *
       A round number.<br/>
       This identifies when this ledger id becomes active.<br/>
       This value is REQUIRED.
       
      uint64 round = 2;
      Returns:
      The round.
    • getLedgerSignature

      com.google.protobuf.ByteString getLedgerSignature()
       *
       A signature from the prior ledger key.<br/>
       This signature is the _previous_ ledger ID signing _this_ ledger ID.<br/>
       This value MAY be unset, if there is no prior ledger ID.<br/>
       This value SHOULD be set if a prior ledger ID exists
       to generate the signature.
       
      bytes ledger_signature = 3;
      Returns:
      The ledgerSignature.
    • hasRosterSignatures

      boolean hasRosterSignatures()
       *
       The signatures from nodes in the active roster signing the new
       ledger id.<br/>
       These signatures establish a chain of trust from the network to the new
       ledger id.
       <p>
       This value MUST be present when the ledger signature of a previous ledger
       id is absent.
       
      .com.hedera.hapi.node.state.roster.RosterSignatures roster_signatures = 4;
      Returns:
      Whether the rosterSignatures field is set.
    • getRosterSignatures

      RosterSignatures getRosterSignatures()
       *
       The signatures from nodes in the active roster signing the new
       ledger id.<br/>
       These signatures establish a chain of trust from the network to the new
       ledger id.
       <p>
       This value MUST be present when the ledger signature of a previous ledger
       id is absent.
       
      .com.hedera.hapi.node.state.roster.RosterSignatures roster_signatures = 4;
      Returns:
      The rosterSignatures.