Interface Proofs.BlockProofOrBuilder

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

public static interface Proofs.BlockProofOrBuilder
extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type Method Description
    Blockchain.Block getBlock()
    Block header containing such information as the ID of the node which proposed the block, the height of the block, the number of transactions in the block, etc.
    Blockchain.BlockOrBuilder getBlockOrBuilder()
    Block header containing such information as the ID of the node which proposed the block, the height of the block, the number of transactions in the block, etc.
    Messages.SignedMessage getPrecommits​(int index)
    List of `Precommit` messages for the block.
    int getPrecommitsCount()
    List of `Precommit` messages for the block.
    java.util.List<Messages.SignedMessage> getPrecommitsList()
    List of `Precommit` messages for the block.
    Messages.SignedMessageOrBuilder getPrecommitsOrBuilder​(int index)
    List of `Precommit` messages for the block.
    java.util.List<? extends Messages.SignedMessageOrBuilder> getPrecommitsOrBuilderList()
    List of `Precommit` messages for the block.
    boolean hasBlock()
    Block header containing such information as the ID of the node which proposed the block, the height of the block, the number of transactions in the block, etc.

    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

    • hasBlock

      boolean hasBlock()
       Block header containing such information as the ID of the node which
       proposed the block, the height of the block, the number of transactions
       in the block, etc.
       
      .exonum.Block block = 1;
      Returns:
      Whether the block field is set.
    • getBlock

      Blockchain.Block getBlock()
       Block header containing such information as the ID of the node which
       proposed the block, the height of the block, the number of transactions
       in the block, etc.
       
      .exonum.Block block = 1;
      Returns:
      The block.
    • getBlockOrBuilder

      Blockchain.BlockOrBuilder getBlockOrBuilder()
       Block header containing such information as the ID of the node which
       proposed the block, the height of the block, the number of transactions
       in the block, etc.
       
      .exonum.Block block = 1;
    • getPrecommitsList

      java.util.List<Messages.SignedMessage> getPrecommitsList()
       List of `Precommit` messages for the block.
       
      repeated .exonum.SignedMessage precommits = 2;
    • getPrecommits

      Messages.SignedMessage getPrecommits​(int index)
       List of `Precommit` messages for the block.
       
      repeated .exonum.SignedMessage precommits = 2;
    • getPrecommitsCount

      int getPrecommitsCount()
       List of `Precommit` messages for the block.
       
      repeated .exonum.SignedMessage precommits = 2;
    • getPrecommitsOrBuilderList

      java.util.List<? extends Messages.SignedMessageOrBuilder> getPrecommitsOrBuilderList()
       List of `Precommit` messages for the block.
       
      repeated .exonum.SignedMessage precommits = 2;
    • getPrecommitsOrBuilder

      Messages.SignedMessageOrBuilder getPrecommitsOrBuilder​(int index)
       List of `Precommit` messages for the block.
       
      repeated .exonum.SignedMessage precommits = 2;